From 18308a22879dc9143a03bcbe53cf0c5e8e49ee1f Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sat, 27 Jul 2024 01:17:37 +0900
Subject: remix

---
 frontend/src/routes/golf/play/apps/Finished.tsx | 27 -------------------------
 1 file changed, 27 deletions(-)
 delete mode 100644 frontend/src/routes/golf/play/apps/Finished.tsx

(limited to 'frontend/src/routes/golf/play/apps/Finished.tsx')

diff --git a/frontend/src/routes/golf/play/apps/Finished.tsx b/frontend/src/routes/golf/play/apps/Finished.tsx
deleted file mode 100644
index e04c7a0..0000000
--- a/frontend/src/routes/golf/play/apps/Finished.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-type Props = {
-  gameId: number;
-  playerId: number;
-  result: { yourScore: number | null; opponentScore: number | null };
-};
-
-export default function Finished({ result }: Props) {
-  const { yourScore, opponentScore } = result;
-  const yourScoreToCompare = yourScore ?? Infinity;
-  const opponentScoreToCompare = opponentScore ?? Infinity;
-  const resultText =
-    yourScoreToCompare === opponentScoreToCompare
-      ? "引き分け"
-      : yourScoreToCompare < opponentScoreToCompare
-        ? "あなたの勝ち"
-        : "あなたの負け";
-  return (
-    <>
-      <div>対戦終了</div>
-      <div>
-        <div>{resultText}</div>
-        <div>あなたのスコア: {yourScore ?? "なし"}</div>
-        <div>相手のスコア: {opponentScore ?? "なし"}</div>
-      </div>
-    </>
-  );
-}
-- 
cgit v1.3.1

