mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-18 00:33:57 +00:00
better stuff, removed uneccsary shit
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user