diff --git a/webapp/src/components/Game.js b/webapp/src/components/Game.js index 780c8511..104924d0 100644 --- a/webapp/src/components/Game.js +++ b/webapp/src/components/Game.js @@ -184,7 +184,7 @@ const Game = ({ username, totalQuestions, timeLimit, themes }) => { })(); setAlmacenado(true); } - }, [timer, numberClics, totalQuestions, timeLimit, almacenado, apiEndpoint, correctQuestions, username, setError, themes, setThemesSelected, numberClics]); + }, [timer, finished, totalQuestions, timeLimit, almacenado, apiEndpoint, correctQuestions, username, setError, themes, setThemesSelected ]); if(isNaN(totalQuestions)){ totalQuestions=10;