Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Nov 20, 2024
1 parent 08606e9 commit 50c57e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/internal/components/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function Toast({
const positionClass = getToastPosition(position);
const animationClass = animation ?? defaultAnimationByPosition[position];

/* biome-ignore lint/correctness/useExhaustiveDependencies: retrigger durationMs on updates to children */
useEffect(() => {
const timer = setTimeout(() => {
if (isVisible) {
Expand Down Expand Up @@ -61,7 +62,7 @@ export function Toast({
'flex items-center justify-between rounded-lg',
'p-2 shadow-[0px_8px_24px_0px_rgba(0,0,0,0.12)]',
animationClass,
className,
className
)}
data-testid="ockToast"
>
Expand Down

0 comments on commit 50c57e4

Please sign in to comment.