This commit is contained in:
@ -6,6 +6,11 @@ type Props = {
|
||||
export default function CountryFlag({ country, size = 24 }: Props) {
|
||||
return (
|
||||
// eslint-disable-next-line @next/next/no-img-element
|
||||
<img alt="Player Country" src={`/assets/flags/${country}.png`} width={size * 2} height={size} />
|
||||
<img
|
||||
alt="Player Country"
|
||||
src={`/assets/flags/${country}.png`}
|
||||
width={size * 2}
|
||||
height={size}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user