From a399f3feab8d9da3f6b35e1b52bbca5a5afb622d Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Mon, 7 Sep 2026 05:19:50 -0400 Subject: [PATCH] style(profile): replace dash placeholders in profile stats table --- src/app/(frontend)/profile/[username]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(frontend)/profile/[username]/page.tsx b/src/app/(frontend)/profile/[username]/page.tsx index 5a84b6f..3540e77 100644 --- a/src/app/(frontend)/profile/[username]/page.tsx +++ b/src/app/(frontend)/profile/[username]/page.tsx @@ -307,7 +307,7 @@ export default async function ProfilePage({ params }: ProfilePageProps) { const airKills = scoreboard.airKills ?? 0; const deaths = scoreboard.deaths ?? 0; const totalKills = infantryKills + vehicleKills + armorKills + airKills; - const kdRatio = deaths > 0 ? (totalKills / deaths).toFixed(2) : totalKills > 0 ? "∞" : "—"; + const kdRatio = deaths > 0 ? (totalKills / deaths).toFixed(2) : totalKills > 0 ? "∞" : "-"; const enlistDate = new Date(profile.dossier.enlistmentDate); const now = new Date(); @@ -562,7 +562,7 @@ export default async function ProfilePage({ params }: ProfilePageProps) { Deaths {deaths.toLocaleString()} - — + -