fix: clearNotification now requires string

This commit is contained in:
asharonbaltazar
2022-12-07 11:52:51 -05:00
parent add3075439
commit 349865e6ef
3 changed files with 7 additions and 11 deletions
@@ -6,7 +6,7 @@ import { Notification as NotificationType } from "./NotificationProvider";
interface NotificationProps {
notification: NotificationType;
clearNotification: (text?: string) => void;
clearNotification: (text: string) => void;
}
const Notification = ({