Fix localCompare error on event leaderboard
This commit is contained in:
parent
f9740813ef
commit
0e524ec25c
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ export default function EventLeaderboard({ id }: { token: string; id: number })
|
||||||
<span className="text-sm text-muted">
|
<span className="text-sm text-muted">
|
||||||
{group.players
|
{group.players
|
||||||
?.map((p) => p.pseudo)
|
?.map((p) => p.pseudo)
|
||||||
.sort((a, b) => a.localeCompare(b))
|
.sort()
|
||||||
.join(', ')}
|
.join(', ') || 'Pas de joueurs'}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue