Skip to content

Commit

Permalink
Merge pull request #454 from Arquisoft/laura
Browse files Browse the repository at this point in the history
  • Loading branch information
uo277310 authored May 2, 2024
2 parents eb9897f + 0025a31 commit f2c382b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f2c382b

Please sign in to comment.