fix country flag
All checks were successful
Deploy SSR / deploy (push) Successful in 1m6s

This commit is contained in:
Lee 2024-09-11 18:33:16 +01:00
parent 4bbe686c29
commit 870c7dd69c

@ -18,7 +18,7 @@ const playerSubNames = [
}, },
{ {
icon: (player: ScoreSaberPlayer) => { icon: (player: ScoreSaberPlayer) => {
return <CountryFlag country={player.country} size={15} />; return <CountryFlag country={player.country.toLowerCase()} size={15} />;
}, },
render: (player: ScoreSaberPlayer) => { render: (player: ScoreSaberPlayer) => {
return <p>#{formatNumberWithCommas(player.countryRank)}</p>; return <p>#{formatNumberWithCommas(player.countryRank)}</p>;