Update getFlag function to accept size parameter

This commit is contained in:
Sean Morley
2024-04-13 20:39:06 +00:00
parent 02455d290b
commit 8a169da9e2
3 changed files with 10 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
on:click={() => nav(item.country_code)}
>{item.name}
<img
src={getFlag(item.country_code)}
src={getFlag(24, item.country_code)}
class="inline-block -mt-1 mr-1"
alt="Flag"
/></button