Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy authored and Andy committed Jun 5, 2024
1 parent 2615f77 commit 828cd4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { Mode } from "@types";

function App() {
useEffect(() => {
// TODO path based routing - React-Router?
console.log(window.location);
}, []);
const [activeMode, setActiveMode] = useState(Mode.review);
Expand Down
2 changes: 2 additions & 0 deletions src/components/Modes/Challenge/Challenge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ function setUpGameState() {
}

export default function Challenge() {
// TODO reset button once game is over?
// TODO keep score streak in localStorage?
const [gameState, setGameState] = useState<ChallengeGameState>(
setUpGameState()
);
Expand Down

0 comments on commit 828cd4e

Please sign in to comment.