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/Gaming.tsx | 30 ---------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 frontend/src/routes/golf/play/apps/Gaming.tsx

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

diff --git a/frontend/src/routes/golf/play/apps/Gaming.tsx b/frontend/src/routes/golf/play/apps/Gaming.tsx
deleted file mode 100644
index 9be39c8..0000000
--- a/frontend/src/routes/golf/play/apps/Gaming.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import React from "react";
-
-type Props = {
-  gameId: number;
-  playerId: number;
-  problem: string | null;
-  onCodeChange: (data: { code: string }) => void;
-  score: number | null;
-};
-
-export default function Gaming({ problem, onCodeChange, score }: Props) {
-  const handleTextChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
-    onCodeChange({ code: e.target.value });
-  };
-
-  return (
-    <div style={{ display: "flex" }}>
-      <div style={{ flex: 1, padding: "10px", borderRight: "1px solid #ccc" }}>
-        <div>{problem}</div>
-        <div>{score == null ? "Score: -" : `Score: ${score} byte`}</div>
-      </div>
-      <div style={{ flex: 1, padding: "10px" }}>
-        <textarea
-          style={{ width: "100%", height: "100%" }}
-          onChange={handleTextChange}
-        />
-      </div>
-    </div>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

