Skip to content

Commit

Permalink
Fix a leaderboard bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MycroftKang committed Mar 13, 2024
1 parent c2a170f commit e19cf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/suikaGame/leaderBoardModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const LeaderBoardModal = ({ isVisible, loadUserInfo, bestScore, onClick }: Leade
</li> */}
{ready ? <li className={`list-group-item d-flex justify-content-between align-items-center ${cx("my-rank-list")}`}>
<div>
<span className={`badge bg-primary rounded-pill ${cx("my-rank-badge")}`}>{myRank}</span>
<span className={`badge bg-primary rounded-pill ${cx("my-rank-badge")}`}>{myRank === 0 ? "99+" : myRank}</span>
<span className={cx("my-rank-name")}>{GameResult.userName}</span>
</div>
<div className='fw-bold' style={{fontSize: "1.2em"}}>
Expand Down

0 comments on commit e19cf41

Please sign in to comment.