refactor: Change type to ensure notifs within state are Required<>

This commit is contained in:
asharonbaltazar
2022-12-07 11:58:17 -05:00
parent 251426b559
commit 9098bdc751
3 changed files with 6 additions and 4 deletions
@@ -6,7 +6,7 @@ import classnames from "classnames";
import { Notification as NotificationType } from "./NotificationProvider";
interface NotificationProps {
notification: NotificationType;
notification: Required<NotificationType>;
clearNotification: (text: string) => void;
}