Fix rank displaying

This commit is contained in:
AbdBarho
2023-01-16 07:34:17 +01:00
committed by GitHub
parent f690da3a1d
commit 8accd0dfbe
@@ -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 + 1),
style: { width: "90px" },
},
{