Skip to content

Commit

Permalink
Merge pull request #175 from TrustlessComputer/feat/whitelist_munual
Browse files Browse the repository at this point in the history
add tooltip & login
  • Loading branch information
0xmegalodon authored Jan 31, 2024
2 parents c570235 + d63598b commit f126aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/PublicSale/leaderBoardVisual/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const LeaderBoardVisual = (props: IProps) => {
const fnLoadData = leaderBoardMode === LEADER_BOARD_MODE.DAY ? getPublicSaleTop : getPublicSaleLeaderBoards;

const getLimit = () => {
const limitMobile = mobileScreen ? (TOTALs - 1) : TOTALs;
const limitMobile = mobileScreen ? (TOTALs - 2) : TOTALs;
return leaderBoardMode === LEADER_BOARD_MODE.DAY ? limitMobile : token ? (TOTALs - 1) : limitMobile;
};

Expand Down Expand Up @@ -178,7 +178,7 @@ const LeaderBoardVisual = (props: IProps) => {
return tmp;
});

setListRender(tmsss.slice(0, mobileScreen ? (TOTALs - 1) : TOTALs));
setListRender(tmsss.slice(0, mobileScreen ? (TOTALs - 2) : TOTALs));
setListMissingRender(missingArray);
}, [list, mobileScreen]);

Expand Down

0 comments on commit f126aaa

Please sign in to comment.