diff --git a/packages/braid-design-system/src/lib/components/useToast/useTimeout.ts b/packages/braid-design-system/src/lib/components/useToast/useTimeout.ts index 4869d27fea7..cb5c720b861 100644 --- a/packages/braid-design-system/src/lib/components/useToast/useTimeout.ts +++ b/packages/braid-design-system/src/lib/components/useToast/useTimeout.ts @@ -15,6 +15,7 @@ export const useTimeout = ({ onTimeout, duration }: UseTimeoutProps) => { useEffect(() => { if (activated) { + setActivated(true); timeoutRef.current = window.setTimeout(() => { onTimeout(); }, duration);