Fix toast timing by setting proper TOAST_REMOVE_DELAY

cgen-da7ad80200854a40928e0aebecdd1cc5
This commit is contained in:
Builder.io 2025-08-05 23:40:13 +00:00
parent 1bf4020b65
commit d17b42b330

View file

@ -3,7 +3,7 @@ import * as React from "react";
import type { ToastActionElement, ToastProps } from "@/components/ui/toast";
const TOAST_LIMIT = 1;
const TOAST_REMOVE_DELAY = 1000;
const TOAST_REMOVE_DELAY = 6000;
type ToasterToast = ToastProps & {
id: string;