toast dismissal

This commit is contained in:
lemonknowsall committed 2025-10-12 13:39:16 -07:00
1 parent 7ba3d7f8c5
commit fd684a40a8
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ const Toast = React.forwardRef<
<ToastPrimitives.Root
ref={ref}
className={cn(toastVariants({ variant }), className)}
duration={5000}
{...props}
/>
)
+1 -1
View File
@@ -6,7 +6,7 @@ import type {
} from "@/components/ui/toast"
const TOAST_LIMIT = 1
const TOAST_REMOVE_DELAY = 1000000
const TOAST_REMOVE_DELAY = 1000
type ToasterToast = ToastProps & {
id: string