aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfPlayApp.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/GolfPlayApp.tsx')
-rw-r--r--frontend/app/components/GolfPlayApp.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/app/components/GolfPlayApp.tsx b/frontend/app/components/GolfPlayApp.tsx
index 71b40ce..25b81af 100644
--- a/frontend/app/components/GolfPlayApp.tsx
+++ b/frontend/app/components/GolfPlayApp.tsx
@@ -55,8 +55,8 @@ export default function GolfPlayApp({ game, player, initialGameState }: Props) {
};
const onCodeChange = useDebouncedCallback(async (code: string) => {
- console.log("player:c2s:code");
if (game.game_type === "1v1") {
+ console.log("player:c2s:code");
await apiClient.postGamePlayCode(game.game_id, code);
}
}, 1000);