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