aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/NavTab.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/src/lib/components/NavTab.svelte')
-rw-r--r--web/pw-server/src/lib/components/NavTab.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/pw-server/src/lib/components/NavTab.svelte b/web/pw-server/src/lib/components/NavTab.svelte
index 2a93897..611f233 100644
--- a/web/pw-server/src/lib/components/NavTab.svelte
+++ b/web/pw-server/src/lib/components/NavTab.svelte
@@ -1,12 +1,12 @@
<script lang="ts">
- import { page } from '$app/stores';
+ import { page } from "$app/stores";
export let href: string;
$: isActive = $page.url.pathname == href;
</script>
<a class="nav-tab" {href} class:active={isActive}>
- <slot></slot>
+ <slot />
</a>
<style lang="scss">