Skip to content

Commit

Permalink
Update Juego.js
Browse files Browse the repository at this point in the history
  • Loading branch information
UO277938 committed Apr 9, 2024
1 parent 92f18e2 commit 5ac759a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/Pages/Juego.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Juego = ({isLogged, username, numPreguntas}) => {
const [numRespuestasIncorrectas, setNumRespuestasIncorrectas] = useState(0)
const [disableFinish, setDisableFinish] = useState(false)

const navigate= useNavigate()
//const navigate= useNavigate()

//Variables para la obtencion y modificacion de estadisticas del usuario y de preguntas
const apiEndpoint = process.env.REACT_APP_API_ENDPOINT || 'http://localhost:8000';
Expand Down Expand Up @@ -202,7 +202,7 @@ const Juego = ({isLogged, username, numPreguntas}) => {
const clickFinalizar = () => {
updateStats();
setDisableFinish(true)
navigate('/')
//navigate('/')
}

const handleRestart = () => {
Expand Down

0 comments on commit 5ac759a

Please sign in to comment.