From 8e89face2f24449e19f8251126378eca52ea31d8 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 14 Jul 2024 15:39:55 +0100 Subject: [PATCH] Revert "fix: maimai uses `rate`, actually plug in the wacca cell (#1127)" This reverts commit 9fd44406e2ff8b2a77ac9ba4dd26719e417c10af. --- client/src/components/tables/cells/MaimaiRatingCell.tsx | 4 ++-- client/src/lib/game-implementations.tsx | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/tables/cells/MaimaiRatingCell.tsx b/client/src/components/tables/cells/MaimaiRatingCell.tsx index 2d0409419..bedcef0c5 100644 --- a/client/src/components/tables/cells/MaimaiRatingCell.tsx +++ b/client/src/components/tables/cells/MaimaiRatingCell.tsx @@ -21,7 +21,7 @@ export default function MaimaiRatingCell({ score }: { score: ScoreDocument | PBS WebkitTextFillColor: "transparent", }} > - {score.calculatedData.rate?.toFixed(2) ?? "N/A"} + {score.calculatedData.rating?.toFixed(2) ?? "N/A"} ); @@ -53,7 +53,7 @@ export default function MaimaiRatingCell({ score }: { score: ScoreDocument | PBS outline: "white", }} > - {score.calculatedData.rate?.toFixed(2) ?? "N/A"} + {score.calculatedData.rating?.toFixed(2) ?? "N/A"} ); } diff --git a/client/src/lib/game-implementations.tsx b/client/src/lib/game-implementations.tsx index 3bcaf3ec9..7f35a1989 100644 --- a/client/src/lib/game-implementations.tsx +++ b/client/src/lib/game-implementations.tsx @@ -24,7 +24,6 @@ import CHUNITHMRatingCell from "components/tables/cells/CHUNITHMRatingCell"; import MaimaiDXRatingCell from "components/tables/cells/MaimaiDXRatingCell"; import MaimaiRatingCell from "components/tables/cells/MaimaiRatingCell"; import OngekiRatingCell from "components/tables/cells/OngekiRatingCell"; -import WACCARatingCell from "components/tables/cells/WACCARatingCell"; import { CreateRatingSys, bgc } from "./games/_util"; import { BMS_14K_IMPL, BMS_7K_IMPL, PMS_IMPL } from "./games/bms-pms"; import { IIDX_DP_IMPL, IIDX_SP_IMPL } from "./games/iidx"; @@ -643,7 +642,7 @@ export const GPT_CLIENT_IMPLEMENTATIONS: GPTClientImplementations = { ), - ratingCell: ({ sc }) => , + ratingCell: ({ sc, rating }) => , }, "itg:Stamina": { sessionImportantScoreCount: 10,