fix: local string for ratings overflow count

This commit is contained in:
TrèsAbhi committed 2023-12-03 09:57:06 -06:00
1 parent 2be4dbea7a
commit bcb7ca5c4c
1 file changed
+6 -2
+6 -2
View File
@@ -461,11 +461,15 @@ export const ratingsCommand = new Promise<CommandRegistryRaw>(
{items && (
<Leaderboard.Root>
{playersBefore > 0 && (
<Leaderboard.Gap message={`+ ${playersBefore} more`} />
<Leaderboard.Gap
message={`+ ${playersBefore.toLocaleString()} more`}
/>
)}
{items}
{playersAfter > 0 && (
<Leaderboard.Gap message={`+ ${playersAfter} more`} />
<Leaderboard.Gap
message={`+ ${playersAfter.toLocaleString()} more`}
/>
)}
</Leaderboard.Root>
)}