Skip to content

Commit

Permalink
remove last nan
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Jan 13, 2024
1 parent 242c730 commit 73775b0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/routes/Stats/Player/OverviewStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,12 @@ export function ViewStats(props: Views): React.ReactElement {
<h3>{numberFormat.format(stats?.killDeath)}</h3>
<p>{t("stats.main.killDeath")}</p>
</div>
<div>
<h3>{numberFormat.format(stats?.killsPerMinute)}</h3>
<p>{t("stats.main.killsPerMinute")}</p>
</div>
{stats?.killsPerMinute && (
<div>
<h3>{numberFormat.format(stats?.killsPerMinute)}</h3>
<p>{t("stats.main.killsPerMinute")}</p>
</div>
)}
<div>
<h3>{numberFormat.format(stats?.winPercent)}%</h3>
<p>{t("stats.main.winPercent")}</p>
Expand Down

0 comments on commit 73775b0

Please sign in to comment.