Skip to content

Commit

Permalink
arreglar el history
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed Apr 30, 2024
1 parent 2db6365 commit fa7f5b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/history/History.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function History({darkMode}){
console.log("Partidas: ");
console.log(partidas);

if(partidas.error || partidas.length === 0 || Object.values(partidas)){
if(partidas.error || partidas.length === 0 ){
setNeverPlayer(true);
setIsLoadingGames(false);
}
Expand All @@ -55,7 +55,7 @@ export function History({darkMode}){
.then(estadisticas => {
//console.log("Estadísticas: ");
//console.log(estadisticas);
if(estadisticas.error || estadisticas.length === 0 || Object.values(estadisticas)){
if(estadisticas.error || estadisticas.length === 0 ){
setNeverPlayer(true);
setIsLoadingStats(false);
}
Expand Down

0 comments on commit fa7f5b2

Please sign in to comment.