From 160cd0755c7ba9869fc06dea108ef0ef383dfed1 Mon Sep 17 00:00:00 2001 From: claustra01 Date: Sun, 11 Aug 2024 15:40:57 +0900 Subject: [PATCH] chore: comment out debug funcs --- src/pages/yatai/index.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/pages/yatai/index.tsx b/src/pages/yatai/index.tsx index 9a0a41f..2833aa8 100644 --- a/src/pages/yatai/index.tsx +++ b/src/pages/yatai/index.tsx @@ -181,18 +181,15 @@ const TargetOverlay = () => { // setAim({ x, y }); // }; - const [target, setTarget] = useState(undefined); + // const [target, setTarget] = useState(undefined); const shotTarget = (data: ActionSchema) => { const x = window.innerWidth / 2 + data.target.x * 300; const y = window.innerHeight / 2 + data.target.y * 300; // TODO: エイム実装ができたらここのsetAimは削除する setAim({ x, y }); - setTarget({ x, y }); + // setTarget({ x, y }); }; - // DEBUG: 後で消す - console.log(target); - return (