diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index b0e14e1..ae035a4 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -104,6 +104,11 @@ function formatNumber(value) { return numberFormat.format(Number(value || 0)) } +function formatMatchSize(playerCount) { + const count = formatNumber(playerCount) + return `${count}v${count}` +} + function formatDate(timestamp) { if (!timestamp) return 'Unknown time' return dateFormat.format(new Date(Number(timestamp) * 1000)) @@ -2785,15 +2790,6 @@ function GamePage({ gameId, navigate }) {
{gameState.error}
) : null} - {game ? ( -{formatNumber(match.player_count)} players
-{formatNumber(match.stats?.deaths)} deaths
+{formatMatchSize(match.player_count)}
))}