diff options
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 |
