better stuff, removed uneccsary shit

This commit is contained in:
afnzmn 2022-07-19 13:52:38 -04:00
parent 9e40089ebd
commit 2914bcead5
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<script>
import { page } from '$app/stores';
export let href = '/';
$: current = (href == $page.url.pathname);
$: current = (href === $page.url.pathname);
</script>
<a {href}>

View File

@ -1,8 +1,6 @@
<script>
import Navigation from '../atoms/Navigation.svelte';
import { page } from '$app/stores';
export let href = '/';
$: current = href == $page.url.pathname;
</script>
<nav>