mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-11 13:46:10 -05:00
dont show 2000.0 team xp
This commit is contained in:
@@ -95,7 +95,9 @@ const getTeamXPInfo = (roster: NonNullable<GetTeamData>["roster"]) => {
|
||||
(placements.reduce((acc, cur) => acc + cur.xPower, 0) +
|
||||
2000 * (4 - placements.length)) /
|
||||
4
|
||||
).toFixed(1),
|
||||
)
|
||||
.toFixed(1)
|
||||
.replace(".0", ""),
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user