aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApp.client.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/GolfWatchApp.client.tsx')
-rw-r--r--frontend/app/components/GolfWatchApp.client.tsx15
1 files changed, 13 insertions, 2 deletions
diff --git a/frontend/app/components/GolfWatchApp.client.tsx b/frontend/app/components/GolfWatchApp.client.tsx
index 9a641f0..e2bc7d4 100644
--- a/frontend/app/components/GolfWatchApp.client.tsx
+++ b/frontend/app/components/GolfWatchApp.client.tsx
@@ -236,9 +236,20 @@ export default function GolfWatchApp({
if (gameState === "connecting") {
return <GolfWatchAppConnecting />;
} else if (gameState === "waiting") {
- return <GolfWatchAppWaiting />;
+ return (
+ <GolfWatchAppWaiting
+ gameDisplayName={game.display_name}
+ playerInfoA={playerInfoA}
+ playerInfoB={playerInfoB}
+ />
+ );
} else if (gameState === "starting") {
- return <GolfWatchAppStarting leftTimeSeconds={leftTimeSeconds!} />;
+ return (
+ <GolfWatchAppStarting
+ gameDisplayName={game.display_name}
+ leftTimeSeconds={leftTimeSeconds!}
+ />
+ );
} else if (gameState === "gaming" || gameState === "finished") {
return (
<GolfWatchAppGaming