From eed11fd96cf1458a7a91659cdf5efafbadda1b2b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 20 Mar 2021 18:44:58 +0100 Subject: more event api --- pages/_app.tsx | 2 +- pages/game.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pages') diff --git a/pages/_app.tsx b/pages/_app.tsx index bfde0d7..a95caa4 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -18,7 +18,7 @@ export default function VierOpEenRijWebsite({ Component, pageProps }) { - + diff --git a/pages/game.tsx b/pages/game.tsx index aa90588..030938c 100644 --- a/pages/game.tsx +++ b/pages/game.tsx @@ -76,7 +76,7 @@ function VoerGame(props: { onMove={move => { props.io.emit("newMove", { move: move % width + 1, - token: cookies.load("token"), + token: cookies.load("token"), //TODO: get token from request game_id: props.gameID }); }} -- cgit v1.2.3