re-enable player rank chart and fix country flags
All checks were successful
Deploy / deploy (push) Successful in 2m33s

This commit is contained in:
Lee
2024-09-27 21:23:44 +01:00
parent a7465a6dcd
commit 52203bbb77
3 changed files with 10 additions and 22 deletions

View File

@ -8,7 +8,7 @@ export default function CountryFlag({ code, size = 24 }: Props) {
// eslint-disable-next-line @next/next/no-img-element
<img
alt="Player Country"
src={`/assets/flags/${code}.png`}
src={`/assets/flags/${code.toLowerCase()}.png`}
width={size * 2}
height={size}
className={`w-[${size * 2}px] h-[${size}px] object-contain`}