From af2d6093e2987ccc597f0be1e97a451858fee933 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 15 Mar 2025 23:53:31 +0900 Subject: refactor(feat): remove unnecessary component property --- .../GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 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 1b91620..708c4a8 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGamingMultiplayer.tsx @@ -13,7 +13,6 @@ type Props = { problemTitle: string; problemDescription: string; sampleCode: string; - gameResult: "winA" | "winB" | "draw" | null; }; export default function GolfWatchAppGamingMultiplayer({ @@ -22,21 +21,12 @@ export default function GolfWatchAppGamingMultiplayer({ problemTitle, problemDescription, sampleCode, - gameResult, }: Props) { const leftTimeSeconds = useAtomValue(gamingLeftTimeSecondsAtom)!; - const topBg = gameResult - ? gameResult === "winA" - ? "bg-orange-400" - : gameResult === "winB" - ? "bg-purple-400" - : "bg-pink-500" - : "bg-sky-600"; - return (
-
+
{gameDisplayName}
-- cgit v1.2.3-70-g09d2