From 20030d1bf21ff0ce9a0a95885abe88b79a0b4d04 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 21 Mar 2021 15:56:14 +0100 Subject: new toast design in code --- components/notificationsArea.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components/notificationsArea.tsx') diff --git a/components/notificationsArea.tsx b/components/notificationsArea.tsx index 0a243e1..b427941 100644 --- a/components/notificationsArea.tsx +++ b/components/notificationsArea.tsx @@ -25,7 +25,9 @@ export function NotificationsArea(props: { useEffect(() => { if(messages > previousMessages) { - toast("Je hebt nieuwe meldingen!", "confirmation", ); + toast({ message: "Je hebt nieuwe meldingen!", + type: "confirmation", + icon: }); } setPreviousMessages(messages); -- cgit v1.2.3