diff --git a/src/App.jsx b/src/App.jsx index dd067e7..29b87fb 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -47,7 +47,6 @@ export default function App() { setGameState(GAME_OVER); stopSequenceLoop(); } - // TODO: use game over state or create reusable function to stop game }, [lives]) useEffect(() => { @@ -99,7 +98,6 @@ export default function App() { botSequenceRef.current.push(selectedId); setBotSequenceState([...botSequenceRef.current]) // this is just to cause rerender and show new numbers in DOM - console.log("botSequenceRef: ", [...botSequenceRef.current]) // TODO: remove this log later. } else { setGameState(GAME_OVER) stopSequenceLoop() @@ -155,7 +153,10 @@ export default function App() { return (