removes unused code in NavItem component

This commit is contained in:
kevmodrome 2020-04-02 18:23:53 +02:00
parent 8ba86adbc9
commit d3a707956f
1 changed files with 0 additions and 9 deletions

View File

@ -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