Add 15 seconds default duration for toast notifications

This commit is contained in:
Carlos Monastyrski
2025-07-02 18:42:02 -03:00
parent cf6181eb73
commit 8a65343f79

View File

@@ -65,6 +65,7 @@ export const createNotification = (
toast(<NotificationContent {...myProps} />, {
position: "bottom-right",
...toastProps,
autoClose: toastProps.autoClose || 15000,
theme: "dark",
type: myProps?.type || "info"
});