fix: notif type is optional

This commit is contained in:
asharonbaltazar
2022-12-07 12:02:01 -05:00
parent 9098bdc751
commit 6050e65a59

View File

@@ -6,7 +6,7 @@ type NotificationType = "success" | "error";
export type Notification = {
text: string;
type: NotificationType;
type?: NotificationType;
timeoutMs?: number;
};