This commit is contained in:
parent
ae96719976
commit
1ce3a2a451
@ -249,7 +249,9 @@ export default function Player({ params }: { params: { id: string } }) {
|
|||||||
)}
|
)}
|
||||||
<ScoreStatLabel
|
<ScoreStatLabel
|
||||||
value={
|
value={
|
||||||
(
|
!leaderboard.maxScore
|
||||||
|
? formatNumber(score.baseScore)
|
||||||
|
: (
|
||||||
(score.baseScore / leaderboard.maxScore) *
|
(score.baseScore / leaderboard.maxScore) *
|
||||||
100
|
100
|
||||||
).toFixed(2) + "%"
|
).toFixed(2) + "%"
|
||||||
|
Loading…
Reference in New Issue
Block a user