diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-15 21:10:51 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-15 21:10:51 +0900 |
| commit | 35d1be206c6be675d92839cfa209fceb5d1b6db9 (patch) | |
| tree | 31734172b78f11272c5267bf7bae1541411ce553 /frontend/app/components/GolfWatchApp.tsx | |
| parent | 27168df997c298e871d34e58fdc726bf2e8a4954 (diff) | |
| download | phperkaigi-2025-albatross-35d1be206c6be675d92839cfa209fceb5d1b6db9.tar.gz phperkaigi-2025-albatross-35d1be206c6be675d92839cfa209fceb5d1b6db9.tar.zst phperkaigi-2025-albatross-35d1be206c6be675d92839cfa209fceb5d1b6db9.zip | |
feat(frontend): show sample code in watch page
Diffstat (limited to 'frontend/app/components/GolfWatchApp.tsx')
| -rw-r--r-- | frontend/app/components/GolfWatchApp.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/app/components/GolfWatchApp.tsx b/frontend/app/components/GolfWatchApp.tsx index 402884f..919fa4f 100644 --- a/frontend/app/components/GolfWatchApp.tsx +++ b/frontend/app/components/GolfWatchApp.tsx @@ -126,6 +126,7 @@ export default function GolfWatchApp({ game }: Props) { playerProfileB={playerProfileB!} problemTitle={game.problem.title} problemDescription={game.problem.description} + sampleCode={game.problem.sample_code} gameResult={null /* TODO */} /> ) : ( @@ -134,6 +135,7 @@ export default function GolfWatchApp({ game }: Props) { ranking={ranking} problemTitle={game.problem.title} problemDescription={game.problem.description} + sampleCode={game.problem.sample_code} gameResult={null /* TODO */} /> ); |
