From 8a65343f79d0142a2d587c582dba35142fd5289c Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Wed, 2 Jul 2025 18:42:02 -0300 Subject: [PATCH] Add 15 seconds default duration for toast notifications --- frontend/src/components/notifications/Notifications.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/notifications/Notifications.tsx b/frontend/src/components/notifications/Notifications.tsx index 0b3a8d038..22f47fa17 100644 --- a/frontend/src/components/notifications/Notifications.tsx +++ b/frontend/src/components/notifications/Notifications.tsx @@ -65,6 +65,7 @@ export const createNotification = ( toast(, { position: "bottom-right", ...toastProps, + autoClose: toastProps.autoClose || 15000, theme: "dark", type: myProps?.type || "info" });