diff --git a/webapp/src/components/Game.js b/webapp/src/components/Game.js
index b81d466f..de9b0ebf 100644
--- a/webapp/src/components/Game.js
+++ b/webapp/src/components/Game.js
@@ -30,10 +30,10 @@ const Game = () => {
useEffect(() => {
handleShowQuestion();
- });
-
+ }, []);
useEffect(() => {
+ console.log("eyou");
const intervalId = setInterval(() => {
setSeconds(prevSeconds => prevSeconds - 1);
}, 1000);
@@ -81,7 +81,6 @@ const Game = () => {
// Method that checks if the answer clicked is the correct one
const handleAnswerClick = (option, index) => {
- // Get what component is the button to change its color later
if(option === correctOption) {
const buttonId = `button_${index}`;
const correctButton = document.getElementById(buttonId);
diff --git a/webapp/src/components/MainPage.js b/webapp/src/components/MainPage.js
index 85b0be18..09ecef3c 100644
--- a/webapp/src/components/MainPage.js
+++ b/webapp/src/components/MainPage.js
@@ -27,12 +27,6 @@ const MainPage = () => {
Puedes comenzar la partida o ver tu historial.
-
- {/*
- Your account was created on {createdAt}.
- */}
-
- {/* Se declaran los botones en los q al hacer click se ejecuta el metodo especificado en onClick*/}