diff --git a/src/modules/rewards/components/LeaderBoardList.tsx b/src/modules/rewards/components/LeaderBoardList.tsx index 454685d9a8..dfadfbc427 100644 --- a/src/modules/rewards/components/LeaderBoardList.tsx +++ b/src/modules/rewards/components/LeaderBoardList.tsx @@ -1,6 +1,7 @@ // React and other libraries import { FC } from 'react'; import InfiniteScroll from 'react-infinite-scroller'; +import { css } from 'styled-components'; //Hooks import { useGetRewardsLeaderboard, ModelledLeaderBoardUser } from 'queries'; @@ -41,7 +42,12 @@ const LeaderBoardList: FC = () => { = ({ rank, address, poin variant="bm-bold" color={{ light: 'gray-1000', dark: 'gray-100' }} > - {rank} + {rank > 0 && rank} = ({ rank, address, poin display={{ ml: 'none', dp: 'block' }} color={{ light: 'gray-1000', dark: 'gray-100' }} > - {points} + {points?.toLocaleString()} - {points} + {points?.toLocaleString()}