From 35d1be206c6be675d92839cfa209fceb5d1b6db9 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sat, 15 Mar 2025 21:10:51 +0900
Subject: feat(frontend): show sample code in watch page

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

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

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 */}
 			/>
 		);
-- 
cgit v1.2.3-70-g09d2

