diff --git a/webapp/src/components/FirstGame.js b/webapp/src/components/FirstGame.js index 2d3ff1df..24adabe4 100644 --- a/webapp/src/components/FirstGame.js +++ b/webapp/src/components/FirstGame.js @@ -20,7 +20,6 @@ const Quiz = () => { let username = localStorage.getItem("username") const navigator = useNavigate(); let allQuestions = useLocation().state.questions; - console.log(allQuestions) let haveEnter = false; let id = useLocation().state.gameId; diff --git a/webapp/src/components/game/Calculator.js b/webapp/src/components/game/Calculator.js index e1ad74a3..b5d38f34 100644 --- a/webapp/src/components/game/Calculator.js +++ b/webapp/src/components/game/Calculator.js @@ -41,8 +41,7 @@ const Calculator = () => { const time = setInterval(() => { setRemTime((progress) => { if(progress === 100){ - console.log("Imprimimos id", id) - console.log("Answered questions", answeredQuestions) + let avgtime = 80/questions.length if (answeredQuestions.length !== 0) { gameStore(id, username, points, answeredQuestions, avgtime);