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.tsx2
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 */}
/>
);