Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
chore: comment out debug funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
claustra01 committed Aug 11, 2024
1 parent c0158d6 commit 160cd07
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/pages/yatai/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,18 +181,15 @@ const TargetOverlay = () => {
// setAim({ x, y });
// };

const [target, setTarget] = useState<Target | undefined>(undefined);
// const [target, setTarget] = useState<Target | undefined>(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 (
<div
className={styles.target}
Expand Down

0 comments on commit 160cd07

Please sign in to comment.