aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx')
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx7
1 files changed, 1 insertions, 6 deletions
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>