diff options
Diffstat (limited to 'pages/game.tsx')
-rw-r--r-- | pages/game.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/game.tsx b/pages/game.tsx index f9d7c0e..a7083a6 100644 --- a/pages/game.tsx +++ b/pages/game.tsx @@ -62,7 +62,7 @@ function VoerGame(props: { }); setIoListeners(true); - }); + }, []); return <div style={{ position: "relative", @@ -196,7 +196,7 @@ export default function GamePage() { io.on("gameStart", () => setActive(true)); setIoListeners(true); - }); + }, []); return <div> <NavBar/> |