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); };