diff options
Diffstat (limited to 'pages/game.tsx')
-rw-r--r-- | pages/game.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
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); |