Skip to content

Commit

Permalink
feat: add country codes to suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
khui0 committed Jun 7, 2024
1 parent 2bf2e29 commit cc42aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/GameInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@
>
{#each results as country}
<button
class="text-start px-3 py-2 hover:bg-base-100/50"
class="flex justify-between px-3 py-2 hover:bg-base-100/50"
on:click={() => {
submitGuess(country);
}}>{country.name}</button
}}>{country.name}<span class="text-base-content/50">{country.code}</span></button
>
{/each}
</div>
Expand Down

0 comments on commit cc42aba

Please sign in to comment.