From 36325e1ba591ae9bc6cb58391b0732a0c6ce6af1 Mon Sep 17 00:00:00 2001 From: jjgancfer Date: Sun, 21 Apr 2024 20:00:02 +0200 Subject: [PATCH] fix: remove unnecesary dependency --- webapp/src/pages/Game.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {