Update CountryItem.svelte

Resolves #23
This commit is contained in:
Arhey 2023-05-04 02:31:47 +03:00
parent 2045ef8a09
commit 6c7e87b0de

View file

@ -58,6 +58,7 @@
aria-controls="accordion-body-{country.code}" aria-controls="accordion-body-{country.code}"
> >
<span>{country.flag}&nbsp;{country.name}</span> <span>{country.flag}&nbsp;{country.name}</span>
{#if !hasQuery}
<svg <svg
class:rotate-180="{expanded}" class:rotate-180="{expanded}"
class="w-6 h-6 shrink-0" class="w-6 h-6 shrink-0"
@ -71,6 +72,7 @@
clip-rule="evenodd" clip-rule="evenodd"
></path> ></path>
</svg> </svg>
{/if}
</button> </button>
</h2> </h2>
{#if expanded} {#if expanded}