From 1afd2781818ef5cba0f018811f12cd8653da10b6 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Thu, 20 Mar 2025 23:28:39 +0900
Subject: fix(frontend): fix state corruption

---
 .../app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx')

diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
index a6b9464..b1d6520 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
@@ -1,5 +1,4 @@
 import { useAtomValue } from "jotai";
-import type { components } from "../../api/schema";
 import { gamingLeftTimeSecondsAtom } from "../../states/watch";
 import LeftTime from "../Gaming/LeftTime";
 import ProblemColumn from "../Gaming/ProblemColumn";
@@ -7,11 +6,8 @@ import RankingTable from "../Gaming/RankingTable";
 import TitledColumn from "../TitledColumn";
 import TwoColumnLayout from "../TwoColumnLayout";
 
-type RankingEntry = components["schemas"]["RankingEntry"];
-
 type Props = {
 	gameDisplayName: string;
-	ranking: RankingEntry[];
 	problemTitle: string;
 	problemDescription: string;
 	sampleCode: string;
@@ -19,7 +15,6 @@ type Props = {
 
 export default function GolfWatchAppGamingMultiplayer({
 	gameDisplayName,
-	ranking,
 	problemTitle,
 	problemDescription,
 	sampleCode,
@@ -43,7 +38,7 @@ export default function GolfWatchAppGamingMultiplayer({
 					sampleCode={sampleCode}
 				/>
 				<TitledColumn title="順位表">
-					<RankingTable ranking={ranking} />
+					<RankingTable />
 				</TitledColumn>
 			</TwoColumnLayout>
 		</div>
-- 
cgit v1.3.1

