Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Add 15 seconds default duration for toast notifications

Carlos Monastyrski8a65343f79d0
diff --git a/frontend/src/components/notifications/Notifications.tsx b/frontend/src/components/notifications/Notifications.tsx
index 0b3a8d0381..22f47fa178 100644
--- a/frontend/src/components/notifications/Notifications.tsx
+++ b/frontend/src/components/notifications/Notifications.tsx
@@ -65,6 +65,7 @@ export const createNotification = (
toast(<NotificationContent {...myProps} />, {
position: "bottom-right",
...toastProps,
+ autoClose: toastProps.autoClose || 15000,
theme: "dark",
type: myProps?.type || "info"
});