Skip to content

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

feat: add notif type

asharonbaltazar91c8fd14df5e
diff --git a/frontend/components/context/Notifications/Notification.tsx b/frontend/components/context/Notifications/Notification.tsx
index 0263a05c15..e473ddb52b 100644
--- a/frontend/components/context/Notifications/Notification.tsx
+++ b/frontend/components/context/Notifications/Notification.tsx
@@ -42,6 +42,7 @@ const Notification = ({
{
"bg-green-600": notification.type === "success",
"bg-red-500": notification.type === "error",
+ "bg-blue-500": notification.type === "info",
}
)}
role="alert"
diff --git a/frontend/components/context/Notifications/NotificationProvider.tsx b/frontend/components/context/Notifications/NotificationProvider.tsx
index d0dd7a1fb8..b029dc6c61 100644
--- a/frontend/components/context/Notifications/NotificationProvider.tsx
+++ b/frontend/components/context/Notifications/NotificationProvider.tsx
@@ -2,7 +2,7 @@ import { createContext, ReactNode, useContext, useState } from "react";
import Notifications from "./Notifications";
-type NotificationType = "success" | "error";
+type NotificationType = "success" | "error" | "info";
export type Notification = {
text: string;