Merge pull request #760 from LAION-AI/AbdBarho-patch-1

Fix rank in leaderboard
This commit is contained in:
Keith Stevens
2023-01-16 15:50:41 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -8,7 +8,7 @@ import useSWRImmutable from "swr/immutable";
const columns = [
{
Header: "Rank",
accessor: (item: LeaderboardEntity, rowIndex: number) => "#" + (item.user_rank + 1),
accessor: (item: LeaderboardEntity, rowIndex: number) => "#" + item.rank,
style: { width: "90px" },
},
{