From ba22c67ad5243966c44e453937adf502dee10b4b Mon Sep 17 00:00:00 2001 From: Pablo Date: Mon, 22 Apr 2024 21:17:40 +0200 Subject: [PATCH] Removed testing things --- webapp/src/pages/Game.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/webapp/src/pages/Game.js b/webapp/src/pages/Game.js index 06e22822..22f2ec55 100644 --- a/webapp/src/pages/Game.js +++ b/webapp/src/pages/Game.js @@ -105,18 +105,6 @@ const Game = () => { setButtonStates(new Array(quest.data.options.length).fill(null)); }).catch(error => { console.error(error); - let quest = {} - quest.data = { - "_id":"1", - "question":"Esta pregunta de prueba resulta de su agrado?", - "options":["Muchísimo","Un cacho","Tope flama","Fino filipino"], - "correctAnswer":"Tope flama", - "categories":["Political"], - "id":"1", - "__v":0 - }; - setQuestionData(quest.data); - setButtonStates(new Array(quest.data.options.length).fill(null)); }); }; @@ -220,9 +208,7 @@ const Game = () => { setButtonStates(newButtonStates); setTimeout(async() => { - console.log(`Pass value before: ${passNewRound}`); setPassNewRound(true); - console.log(`Pass value after: ${passNewRound}`); setCurrentLanguage(i18n.language); }, 4000); };