fix : improve great move classification

This commit is contained in:
GuillaumeSD
2024-04-17 01:36:00 +02:00
parent b171edb8ad
commit dd2265288f
2 changed files with 32 additions and 8 deletions

View File

@@ -34,9 +34,7 @@ export const getChessComUserRecentGames = async (
}
const gamesToReturn = games
.sort((a, b) => {
return b.end_time - a.end_time;
})
.sort((a, b) => b.end_time - a.end_time)
.slice(0, 50);
return gamesToReturn;