diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-21 10:16:42 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-21 10:16:42 +0900 |
| commit | e31c22dda15a665ffefc13b14a8b377062ef0351 (patch) | |
| tree | a6a523d6fc822600213e8c7dd45f79a09ba6ef0b /frontend/app/components/GolfWatchApp.tsx | |
| parent | e66bba3317c51b1c9d89bcef706d05b82c7148ec (diff) | |
| download | phperkaigi-2025-albatross-e31c22dda15a665ffefc13b14a8b377062ef0351.tar.gz phperkaigi-2025-albatross-e31c22dda15a665ffefc13b14a8b377062ef0351.tar.zst phperkaigi-2025-albatross-e31c22dda15a665ffefc13b14a8b377062ef0351.zip | |
feat(frontend): make main players optional
Diffstat (limited to 'frontend/app/components/GolfWatchApp.tsx')
| -rw-r--r-- | frontend/app/components/GolfWatchApp.tsx | 8 |
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} |
