Skip to content

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

fix: notif type is optional

asharonbaltazar6050e65a59d0
diff --git a/frontend/components/context/Notifications/NotificationProvider.tsx b/frontend/components/context/Notifications/NotificationProvider.tsx
index 15287e9098..d0dd7a1fb8 100644
--- a/frontend/components/context/Notifications/NotificationProvider.tsx
+++ b/frontend/components/context/Notifications/NotificationProvider.tsx
@@ -6,7 +6,7 @@ type NotificationType = "success" | "error";
export type Notification = {
text: string;
- type: NotificationType;
+ type?: NotificationType;
timeoutMs?: number;
};