Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
itswadesh committed Oct 1, 2024
1 parent 829d057 commit 2373124
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/Autocomplete/Autocomplete.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ onMount(async () => {
</script>

<form autocomplete="off" class="relative" on:submit|preventDefault="{submit}">
<button
type="button"
<div

class="relative w-full focus:outline-none"
on:click="{() => (showSuggestionOptions = true)}">
<input
Expand All @@ -131,7 +131,7 @@ onMount(async () => {
clip-rule="evenodd"></path>
</svg>
</button>
</button>
</div>

{#if autocomplete?.length && showSuggestionOptions}
<ul
Expand Down

0 comments on commit 2373124

Please sign in to comment.