aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApp.client.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-12 06:39:36 +0900
committernsfisis <nsfisis@gmail.com>2024-08-12 06:39:36 +0900
commitfbe3a7eeae9d2b2c972ab6d2c30eb7aee41b0ecf (patch)
tree7c82c16b16ee79db321228440931ea38b81f0e8e /frontend/app/components/GolfWatchApp.client.tsx
parent3074f8d74330a2c238040755b758230d682a4bc4 (diff)
downloadiosdc-japan-2025-albatross-fbe3a7eeae9d2b2c972ab6d2c30eb7aee41b0ecf.tar.gz
iosdc-japan-2025-albatross-fbe3a7eeae9d2b2c972ab6d2c30eb7aee41b0ecf.tar.zst
iosdc-japan-2025-albatross-fbe3a7eeae9d2b2c972ab6d2c30eb7aee41b0ecf.zip
feat(frontend): improve watch page styling
Diffstat (limited to 'frontend/app/components/GolfWatchApp.client.tsx')
-rw-r--r--frontend/app/components/GolfWatchApp.client.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/app/components/GolfWatchApp.client.tsx b/frontend/app/components/GolfWatchApp.client.tsx
index b2f3b69..15b78dc 100644
--- a/frontend/app/components/GolfWatchApp.client.tsx
+++ b/frontend/app/components/GolfWatchApp.client.tsx
@@ -246,11 +246,13 @@ export default function GolfWatchApp({
} else if (gameState === "gaming") {
return (
<GolfWatchAppGaming
+ gameDisplayName={game.display_name}
gameDurationSeconds={game.duration_seconds}
leftTimeSeconds={leftTimeSeconds!}
playerInfoA={playerInfoA}
playerInfoB={playerInfoB}
- problem={game.problem!.description}
+ problemTitle={game.problem.title}
+ problemDescription={game.problem.description}
/>
);
} else if (gameState === "finished") {