From ff5559a24938a94298c9d426fa1481e713534f0f Mon Sep 17 00:00:00 2001 From: Sawa <34698182+sawaYch@users.noreply.github.com> Date: Thu, 7 Mar 2024 07:21:00 +0800 Subject: [PATCH] feat(ui/toast): auto dismiss toast in 2 sec --- components/ui/toaster.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/toaster.tsx b/components/ui/toaster.tsx index bbd513e..c2fc131 100644 --- a/components/ui/toaster.tsx +++ b/components/ui/toaster.tsx @@ -14,7 +14,7 @@ export function Toaster() { const { toasts } = useToast(); return ( - + {toasts.map(function ({ id, title, description, action, ...props }) { return (