Skip to content

Commit

Permalink
Removed testing things
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloGOP committed Apr 22, 2024
1 parent 94c8851 commit ba22c67
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions webapp/src/pages/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
};

Expand Down Expand Up @@ -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);
};
Expand Down

0 comments on commit ba22c67

Please sign in to comment.