aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfPlayApp.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-21 10:55:10 +0900
committernsfisis <nsfisis@gmail.com>2025-03-21 10:55:10 +0900
commit4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1 (patch)
tree4180285e8270f9daa22ee71d93397bab8b38dd0b /frontend/app/components/GolfPlayApp.tsx
parente31c22dda15a665ffefc13b14a8b377062ef0351 (diff)
downloadphperkaigi-2025-albatross-4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1.tar.gz
phperkaigi-2025-albatross-4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1.tar.zst
phperkaigi-2025-albatross-4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1.zip
feat(frontend): support mobile layout
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);