diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-22 15:41:58 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-22 15:41:58 +0900 |
| commit | 8172d4c463f3782ecf924e641e96f18b4308e6a7 (patch) | |
| tree | 9566c2c3752f085b92481fc7ceb221b908a0748c /frontend/app/components/GolfPlayApp.client.tsx | |
| parent | 81dd1db4daa57e67b1f603c260afe6cb526e5278 (diff) | |
| download | iosdc-japan-2024-albatross-8172d4c463f3782ecf924e641e96f18b4308e6a7.tar.gz iosdc-japan-2024-albatross-8172d4c463f3782ecf924e641e96f18b4308e6a7.tar.zst iosdc-japan-2024-albatross-8172d4c463f3782ecf924e641e96f18b4308e6a7.zip | |
feat(frontend): log websocket message payload
Diffstat (limited to 'frontend/app/components/GolfPlayApp.client.tsx')
| -rw-r--r-- | frontend/app/components/GolfPlayApp.client.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/app/components/GolfPlayApp.client.tsx b/frontend/app/components/GolfPlayApp.client.tsx index 0230426..4bd464b 100644 --- a/frontend/app/components/GolfPlayApp.client.tsx +++ b/frontend/app/components/GolfPlayApp.client.tsx @@ -103,6 +103,7 @@ export default function GolfPlayApp({ } else if (readyState === ReadyState.OPEN) { if (lastJsonMessage !== null) { console.log(lastJsonMessage.type); + console.log(lastJsonMessage.data); if (lastJsonMessage.type === "player:s2c:start") { const { start_at } = lastJsonMessage.data; gameStart(start_at); |
