From 425b698d62207cd03093e43e5af236b9e3aaee02 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Mon, 16 Jan 2023 07:35:40 +0100 Subject: [PATCH] Remove +1 --- .../src/components/LeaderboardGridCell/LeaderboardGridCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/LeaderboardGridCell/LeaderboardGridCell.tsx b/website/src/components/LeaderboardGridCell/LeaderboardGridCell.tsx index f13988d8..9d75b74d 100644 --- a/website/src/components/LeaderboardGridCell/LeaderboardGridCell.tsx +++ b/website/src/components/LeaderboardGridCell/LeaderboardGridCell.tsx @@ -8,7 +8,7 @@ import useSWRImmutable from "swr/immutable"; const columns = [ { Header: "Rank", - accessor: (item: LeaderboardEntity, rowIndex: number) => "#" + (item.rank + 1), + accessor: (item: LeaderboardEntity, rowIndex: number) => "#" + item.rank, style: { width: "90px" }, }, {