From 20030d1bf21ff0ce9a0a95885abe88b79a0b4d04 Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Sun, 21 Mar 2021 15:56:14 +0100
Subject: new toast design in code

---
 pages/game.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'pages/game.tsx')

diff --git a/pages/game.tsx b/pages/game.tsx
index f03933f..e44a7d9 100644
--- a/pages/game.tsx
+++ b/pages/game.tsx
@@ -61,7 +61,9 @@ function VoerGame(props: {
 		});
 
 		props.io.on("resign", () => {
-			props.toast("Het potje is opgegeven", "normal", <FlagOutlinedIcon style={{ fontSize: 32 }}/>);
+			props.toast({ message: "Het potje is opgegeven",
+						type: "normal",
+						icon: <FlagOutlinedIcon/>});
 		});
 
 		setIoListeners(true);
-- 
cgit v1.2.3

