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/GolfPlayApp.client.tsx | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

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

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

