Skip to content

Commit

Permalink
Eliminando console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
iyanfdezz committed Apr 2, 2024
1 parent 39ef09d commit f3d3f3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions webapp/src/pages/Bateria/Bateria.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ const JuegoPreguntas = () => {
const preguntasTotales=preguntasCorrectas+preguntasFalladas;
const tMedio=TIME/preguntasTotales;
setTiempoMedio(tMedio);
console.log(tMedio)
console.log(juegoTerminado)
}
}
const timer = setInterval(() => {
Expand Down
5 changes: 0 additions & 5 deletions webapp/src/pages/Clasico/Clasico.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,8 @@ const JuegoPreguntas = () => {
setJuegoTerminado(true);
if (preguntasCorrectas + preguntasFalladas > 0) {
const preguntasTotales=preguntasCorrectas+preguntasFalladas;
console.log(preguntasCorrectas);
console.log(preguntasFalladas);
const tMedio=tiempoTotal/preguntasTotales;
setTiempoMedio(tMedio);
console.log(tMedio);
}
}

Expand Down Expand Up @@ -263,9 +260,7 @@ const JuegoPreguntas = () => {
<Button
onClick={() => {
const newTTotal=tiempoTotal+(SECS_PER_QUESTION-tiempoRestante);
console.log(newTTotal);
setTiempoTotal(newTTotal);
console.log(tiempoTotal);
setTiempoRestante(0)}}
disabled={tiempoRestante === 0 || juegoTerminado}
colorScheme="teal"
Expand Down

0 comments on commit f3d3f3b

Please sign in to comment.