From 19fad1b969ac9b6c50b024a2c710e8f4fe792eb0 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Mon, 19 Aug 2024 05:21:58 +0900
Subject: feat(frontend): improve play/watch pages styling

---
 frontend/app/components/GolfWatchApp.client.tsx | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

(limited to 'frontend/app/components/GolfWatchApp.client.tsx')

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
-- 
cgit v1.3.1

