Skip to content

Commit

Permalink
chore: update code
Browse files Browse the repository at this point in the history
  • Loading branch information
camewell071 committed Jan 19, 2024
1 parent 90468e7 commit 27be46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Whitelist/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Whitelist = () => {
React.useEffect(() => {
const leaderBoard = document.getElementById(LEADER_BOARD_ID);
const stepper = document.getElementById(STEP_ID);
if (stepper && stepHeight && !isMobile) {
if (stepper && stepHeight && !isMobile && leaderBoard) {
leaderBoard.style.maxHeight = `${stepHeight}px`;
}

Expand Down

0 comments on commit 27be46f

Please sign in to comment.