fix error when showing pp
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6f0fdb3778
commit
faa314960f
@ -62,14 +62,14 @@ export default function ScoreStats() {
|
|||||||
height={30}
|
height={30}
|
||||||
src="https://cdn.fascinated.cc/Hc1eD7QY.png"
|
src="https://cdn.fascinated.cc/Hc1eD7QY.png"
|
||||||
unoptimized
|
unoptimized
|
||||||
alt="ScoreSaber logo"
|
alt="BeatLeader logo"
|
||||||
></Image>
|
></Image>
|
||||||
<p
|
<p
|
||||||
style={{
|
style={{
|
||||||
marginLeft: "5px",
|
marginLeft: "5px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{scoreSaberPP.toFixed(0)}pp
|
{scoreSaberPP.pp.toFixed(0)}pp
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
|
@ -154,6 +154,8 @@ export const useSongDataStore = create<SongDataState>()((set) => ({
|
|||||||
}
|
}
|
||||||
const { bsr, mapArt } = mapDataresponse.data.data;
|
const { bsr, mapArt } = mapDataresponse.data.data;
|
||||||
|
|
||||||
|
console.log(scoreSaberLeaderboardData);
|
||||||
|
|
||||||
set({
|
set({
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
hasError: hasError,
|
hasError: hasError,
|
||||||
|
Reference in New Issue
Block a user