diff --git a/apps/web/src/components/ui/toast.tsx b/apps/web/src/components/ui/toast.tsx index 768a083e2e..14495bdc4d 100644 --- a/apps/web/src/components/ui/toast.tsx +++ b/apps/web/src/components/ui/toast.tsx @@ -27,6 +27,8 @@ const anchoredToastManager = Toast.createToastManager(); type ToastId = ReturnType; const threadToastVisibleTimeoutRemainingMs = new Map(); +const DEFAULT_DISMISS_AFTER_VISIBLE_MS = 5_000; + const TOAST_ICONS = { error: CircleAlertIcon, info: InfoIcon, @@ -263,7 +265,7 @@ function Toasts({ position = "top-right" }: { position: ToastPosition }) { toast={toast} >