mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 06:29:37 +00:00
refactor: Change type to ensure notifs within state are Required<>
This commit is contained in:
@@ -2,7 +2,7 @@ import Notification from "./Notification";
|
||||
import { Notification as NotificationType } from "./NotificationProvider";
|
||||
|
||||
interface NoticationsProps {
|
||||
notifications: NotificationType[];
|
||||
notifications: Required<NotificationType>[];
|
||||
clearNotification: (text: string) => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user