This commit is contained in:
parent
6f9869b1b1
commit
1abb78719b
@ -7,6 +7,7 @@ import {
|
|||||||
getAveragePp,
|
getAveragePp,
|
||||||
getHighestPpPlay,
|
getHighestPpPlay,
|
||||||
} from "@/utils/scoresaber/scores";
|
} from "@/utils/scoresaber/scores";
|
||||||
|
import { normalizedRegionName } from "@/utils/utils";
|
||||||
import {
|
import {
|
||||||
GlobeAsiaAustraliaIcon,
|
GlobeAsiaAustraliaIcon,
|
||||||
HomeIcon,
|
HomeIcon,
|
||||||
@ -183,6 +184,9 @@ export default function PlayerInfo({ playerData }: PlayerInfoProps) {
|
|||||||
href={`/ranking/country/${playerData.country}/${Math.round(
|
href={`/ranking/country/${playerData.country}/${Math.round(
|
||||||
playerData.countryRank / 50,
|
playerData.countryRank / 50,
|
||||||
)}`}
|
)}`}
|
||||||
|
title={`${playerData.name} is from ${normalizedRegionName(
|
||||||
|
playerData.country,
|
||||||
|
)}`}
|
||||||
>
|
>
|
||||||
<ReactCountryFlag
|
<ReactCountryFlag
|
||||||
countryCode={playerData.country}
|
countryCode={playerData.country}
|
||||||
|
Loading…
Reference in New Issue
Block a user