From af2d6093e2987ccc597f0be1e97a451858fee933 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
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 (
 		<div className="min-h-screen bg-gray-100 flex flex-col">
-			<div className={`text-white ${topBg} grid grid-cols-3 px-4 py-2`}>
+			<div className={`text-white bg-sky-600 grid grid-cols-3 px-4 py-2`}>
 				<div className="font-bold flex justify-between my-auto"></div>
 				<div className="font-bold text-center">
 					<div className="text-gray-100">{gameDisplayName}</div>
-- 
cgit v1.2.3-70-g09d2

