diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-21 15:56:14 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-21 15:56:14 +0100 |
commit | 20030d1bf21ff0ce9a0a95885abe88b79a0b4d04 (patch) | |
tree | f88021f36931ed150efe76d3954640298b8512e6 /pages/game.tsx | |
parent | 8a3e72edfaee62052ba2eb740775f6bb88af9ae1 (diff) |
new toast design in code
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); |