Skip to content

Commit

Permalink
Remove unused reset handler
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldoylecs committed Dec 3, 2024
1 parent 2b6cdb5 commit d008cde
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/minesweeper/Minesweeper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ function Minesweeper() {
}
}

const handleReset = (event: SyntheticEvent) => {
event.preventDefault();
game.reset();
console.log("RESET");
}

// Save game state on change
useEffect(() => {
const disposer = autorun(() => {
Expand Down

0 comments on commit d008cde

Please sign in to comment.