From e31c22dda15a665ffefc13b14a8b377062ef0351 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Fri, 21 Mar 2025 10:16:42 +0900
Subject: feat(frontend): make main players optional

---
 frontend/app/components/GolfWatchApp.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

diff --git a/frontend/app/components/GolfWatchApp.tsx b/frontend/app/components/GolfWatchApp.tsx
index 492d555..a8b4630 100644
--- a/frontend/app/components/GolfWatchApp.tsx
+++ b/frontend/app/components/GolfWatchApp.tsx
@@ -121,8 +121,8 @@ export default function GolfWatchApp({
 		return game.game_type === "1v1" ? (
 			<GolfWatchAppWaiting1v1
 				gameDisplayName={game.display_name}
-				playerProfileA={playerProfileA!}
-				playerProfileB={playerProfileB!}
+				playerProfileA={playerProfileA}
+				playerProfileB={playerProfileB}
 			/>
 		) : (
 			<GolfWatchAppWaitingMultiplayer gameDisplayName={game.display_name} />
@@ -133,8 +133,8 @@ export default function GolfWatchApp({
 		return game.game_type === "1v1" ? (
 			<GolfWatchAppGaming1v1
 				gameDisplayName={game.display_name}
-				playerProfileA={playerProfileA!}
-				playerProfileB={playerProfileB!}
+				playerProfileA={playerProfileA}
+				playerProfileB={playerProfileB}
 				problemTitle={game.problem.title}
 				problemDescription={game.problem.description}
 				sampleCode={game.problem.sample_code}
-- 
cgit v1.3.1

