Revert on click changes to SideNavigation/Item

This commit is contained in:
Rory Powell 2022-02-16 11:59:22 +00:00
parent 643e6a6702
commit ae36401def
1 changed files with 1 additions and 2 deletions

View File

@ -7,14 +7,13 @@
export let icon = ""
export let selected = false
export let disabled = false
export let onClick = undefined
</script>
<li
class="spectrum-SideNav-item"
class:is-selected={selected}
class:is-disabled={disabled}
on:click={onClick}
on:click
>
{#if heading}
<h2 class="spectrum-SideNav-heading" id="nav-heading-{heading}">