aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-05 20:52:43 +0900
committernsfisis <nsfisis@gmail.com>2025-09-05 20:53:02 +0900
commit82d3cf35c3c6b85b48c94dd6301c8bf718669b8d (patch)
treec09c53a3ae1f51aba02902d4f32ffafdf7fb562a /frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
parentdd1c68425120fca008a3b10991c865ea586c7002 (diff)
downloadiosdc-japan-2025-albatross-82d3cf35c3c6b85b48c94dd6301c8bf718669b8d.tar.gz
iosdc-japan-2025-albatross-82d3cf35c3c6b85b48c94dd6301c8bf718669b8d.tar.zst
iosdc-japan-2025-albatross-82d3cf35c3c6b85b48c94dd6301c8bf718669b8d.zip
feat(frontend): support swift language
Diffstat (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx')
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
index b1d6520..22c6df2 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
@@ -1,5 +1,6 @@
import { useAtomValue } from "jotai";
import { gamingLeftTimeSecondsAtom } from "../../states/watch";
+import type { SupportedLanguage } from "../../types/SupportedLanguage";
import LeftTime from "../Gaming/LeftTime";
import ProblemColumn from "../Gaming/ProblemColumn";
import RankingTable from "../Gaming/RankingTable";
@@ -10,6 +11,7 @@ type Props = {
gameDisplayName: string;
problemTitle: string;
problemDescription: string;
+ problemLanguage: SupportedLanguage;
sampleCode: string;
};
@@ -17,6 +19,7 @@ export default function GolfWatchAppGamingMultiplayer({
gameDisplayName,
problemTitle,
problemDescription,
+ problemLanguage,
sampleCode,
}: Props) {
const leftTimeSeconds = useAtomValue(gamingLeftTimeSecondsAtom)!;
@@ -35,10 +38,11 @@ export default function GolfWatchAppGamingMultiplayer({
<ProblemColumn
title={problemTitle}
description={problemDescription}
+ language={problemLanguage}
sampleCode={sampleCode}
/>
<TitledColumn title="順位表">
- <RankingTable />
+ <RankingTable problemLanguage={problemLanguage} />
</TitledColumn>
</TwoColumnLayout>
</div>