refactor: use svelte element in button

This commit is contained in:
afn
2022-12-21 18:27:57 -05:00
parent 8d73663ae3
commit 6c0d95baa2
3 changed files with 23 additions and 38 deletions

View File

@ -68,7 +68,7 @@
<TreeMenu>
<!-- Must bind both variables: we get searchTerm from the text input, -->
<!-- and searchTermFiltered gets cleared with the clear button -->
<Search bind:searchTerm bind:searchTermFiltered title="Search patches" sticky={true} on:keyup={debounce} />
<Search bind:searchTerm bind:searchTermFiltered title="Search patches" on:keyup={debounce} />
<span class="packages">
{#each packages as pkg}
<TreeMenuButton bind:selectedPkg name={pkg} />