diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-19 05:21:58 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-19 05:35:24 +0900 |
| commit | 19fad1b969ac9b6c50b024a2c710e8f4fe792eb0 (patch) | |
| tree | 3fe237c1bee168eec088e125ba3877249aa09510 /frontend/app/components/GolfPlayApp.client.tsx | |
| parent | 6031c81f5394acf315b277302a7fd18ea288b506 (diff) | |
| download | iosdc-japan-2024-albatross-19fad1b969ac9b6c50b024a2c710e8f4fe792eb0.tar.gz iosdc-japan-2024-albatross-19fad1b969ac9b6c50b024a2c710e8f4fe792eb0.tar.zst iosdc-japan-2024-albatross-19fad1b969ac9b6c50b024a2c710e8f4fe792eb0.zip | |
feat(frontend): improve play/watch pages styling
Diffstat (limited to 'frontend/app/components/GolfPlayApp.client.tsx')
| -rw-r--r-- | frontend/app/components/GolfPlayApp.client.tsx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/frontend/app/components/GolfPlayApp.client.tsx b/frontend/app/components/GolfPlayApp.client.tsx index 82c0928..42f0250 100644 --- a/frontend/app/components/GolfPlayApp.client.tsx +++ b/frontend/app/components/GolfPlayApp.client.tsx @@ -225,9 +225,19 @@ export default function GolfPlayApp({ if (gameState === "connecting") { return <GolfPlayAppConnecting />; } else if (gameState === "waiting") { - return <GolfPlayAppWaiting />; + return ( + <GolfPlayAppWaiting + gameDisplayName={game.display_name} + playerInfo={playerInfo} + /> + ); } else if (gameState === "starting") { - return <GolfPlayAppStarting leftTimeSeconds={leftTimeSeconds!} />; + return ( + <GolfPlayAppStarting + gameDisplayName={game.display_name} + leftTimeSeconds={leftTimeSeconds!} + /> + ); } else if (gameState === "gaming") { return ( <GolfPlayAppGaming |
