mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-09 20:56:02 -05:00
Season summary don't show peak SP if same as final SP
This commit is contained in:
@@ -184,9 +184,11 @@ export function SeasonSummaryGraphic({
|
||||
{tier.isPlus ? "+" : ""}
|
||||
</div>
|
||||
<div className={styles.heroSp}>{sp.toFixed(1)}SP</div>
|
||||
<div className={styles.heroPeak}>
|
||||
{t("user:seasons.peak")} {peakSp.toFixed(1)}SP
|
||||
</div>
|
||||
{peakSp.toFixed(1) === sp.toFixed(1) ? null : (
|
||||
<div className={styles.heroPeak}>
|
||||
{t("user:seasons.peak")} {peakSp.toFixed(1)}SP
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{typeof soloRank === "number" ? (
|
||||
<div className={styles.rankBlock}>
|
||||
|
||||
Reference in New Issue
Block a user