removes unused code in NavItem component
This commit is contained in:
parent
9360226525
commit
cda1f2671a
|
@ -1,17 +1,8 @@
|
|||
<script>
|
||||
import { isActive, url, goto } from "@sveltech/routify"
|
||||
import getIcon from "../common/icon"
|
||||
import { backendUiStore } from "builderStore"
|
||||
|
||||
export let name = ""
|
||||
export let label = ""
|
||||
export let href
|
||||
|
||||
$: console.log("Active: ", $isActive(href))
|
||||
|
||||
$: navActive = $backendUiStore.leftNavItem === name
|
||||
|
||||
const setActive = () => backendUiStore.actions.navigate(name)
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
|
Loading…
Reference in New Issue