From 6050e65a59d0f5e07988a29afdd359e5c93ebaed Mon Sep 17 00:00:00 2001 From: asharonbaltazar Date: Wed, 7 Dec 2022 12:02:01 -0500 Subject: [PATCH] fix: notif type is optional --- .../components/context/Notifications/NotificationProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/context/Notifications/NotificationProvider.tsx b/frontend/components/context/Notifications/NotificationProvider.tsx index 15287e909..d0dd7a1fb 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; };