aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApp.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/GolfWatchApp.tsx')
-rw-r--r--frontend/app/components/GolfWatchApp.tsx8
1 files changed, 4 insertions, 4 deletions
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}