fix error when showing pp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lee 2023-03-27 16:08:57 +01:00
parent 6f0fdb3778
commit faa314960f
2 changed files with 4 additions and 2 deletions

@ -62,14 +62,14 @@ export default function ScoreStats() {
height={30}
src="https://cdn.fascinated.cc/Hc1eD7QY.png"
unoptimized
alt="ScoreSaber logo"
alt="BeatLeader logo"
></Image>
<p
style={{
marginLeft: "5px",
}}
>
{scoreSaberPP.toFixed(0)}pp
{scoreSaberPP.pp.toFixed(0)}pp
</p>
</div>
) : null}

@ -154,6 +154,8 @@ export const useSongDataStore = create<SongDataState>()((set) => ({
}
const { bsr, mapArt } = mapDataresponse.data.data;
console.log(scoreSaberLeaderboardData);
set({
isLoading: false,
hasError: hasError,