diff --git a/webapp/src/pages/Game.jsx b/webapp/src/pages/Game.jsx index 54607b04..ba155349 100644 --- a/webapp/src/pages/Game.jsx +++ b/webapp/src/pages/Game.jsx @@ -102,7 +102,7 @@ export default function Game() { setNextDisabled(true); await startNewRound(gameId); } - }, [navigate, setAnswer, setNextDisabled, startNewRound, correctAnswers, + }, [navigate, setAnswer, setNextDisabled, startNewRound, gameId, maxRoundNumber, roundNumber]); const nextButtonClick = async () => {