added number formatting to some values
All checks were successful
deploy / deploy (push) Successful in 55s

This commit is contained in:
Lee
2023-10-23 11:39:48 +01:00
parent 3a2dbe6423
commit 6c9554f9a0
3 changed files with 6 additions and 6 deletions

View File

@ -22,10 +22,10 @@ export async function generateMetadata({
const description = `
View ${player.name}'s scores, top plays, and more.
Rank: #${player.rank} (#${formatNumber(
Rank: #${formatNumber(player.rank)} (#${formatNumber(
player.countryRank,
)} - ${normalizedRegionName(player.country)})
PP: ${player.pp}
PP: ${formatNumber(player.pp)}
Play Count: ${formatNumber(player.scoreStats.totalPlayCount)}`;
return {