From a46f583437e9b66ebec6fa22e27567a71b17b497 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 21 Jul 2024 16:13:58 +0900
Subject: react router

---
 frontend/src/game/apps/Finished.jsx | 24 ------------------------
 1 file changed, 24 deletions(-)
 delete mode 100644 frontend/src/game/apps/Finished.jsx

(limited to 'frontend/src/game/apps/Finished.jsx')

diff --git a/frontend/src/game/apps/Finished.jsx b/frontend/src/game/apps/Finished.jsx
deleted file mode 100644
index efd4e81..0000000
--- a/frontend/src/game/apps/Finished.jsx
+++ /dev/null
@@ -1,24 +0,0 @@
-export default ({ result }) => {
-  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

