aboutsummaryrefslogtreecommitdiff
path: root/pages/game.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/game.tsx')
-rw-r--r--pages/game.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/game.tsx b/pages/game.tsx
index d71c880..f9d7c0e 100644
--- a/pages/game.tsx
+++ b/pages/game.tsx
@@ -86,7 +86,7 @@ function VoerGame(props: {
turn={turn}
player1={props.player1}
active={props.active}
- resignFunction={() => {this.io.emit("resign", { game_id: props.gameID })}}
+ resignFunction={() => {io.emit("resign", { game_id: props.gameID })}}
/>
<GameOutcomeDialog
outcome={outcome}