Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed May 1, 2024
1 parent 3d98ead commit 4e6db4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions webapp/src/components/history/History.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ export function History({darkMode}){
})
.catch(error => {
//console.error('Error cargando el historial de todas las partidas del usuario:', error);
}) .finally(() => {
console.log('setIsLoadingGames a false finally ');

setIsLoadingGames(false);
});
}, [gamesEndpoint]);//<-cambiar el array de depencias error despliegue

Expand All @@ -74,6 +78,9 @@ export function History({darkMode}){
})
.catch(error => {
//console.error('Error cargando las estadísticas del usuario:', error);
}).finally(() => {
console.log('setIsLoadingStats a false finally ');
setIsLoadingStats(false);
});
}, [statisticsEndpoint]);//<- cambiar el array de depencias error despliegue

Expand Down

0 comments on commit 4e6db4e

Please sign in to comment.