diff --git a/hooks/use-toast.ts b/hooks/use-toast.ts index 02e111d..0fdf258 100644 --- a/hooks/use-toast.ts +++ b/hooks/use-toast.ts @@ -182,7 +182,7 @@ function useToast() { listeners.splice(index, 1) } } - }, [state]) + }, []) return { ...state,