diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 2dce42d..b494437 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -4,7 +4,7 @@ import Logo from "./Logo.astro"; import ToggleTheme from "@components/ThemeToggle.svelte"; function isActive(path: string) { - return Astro.url.pathname === path ? "active" : ""; + return Astro.url.pathname === path; } const t = useTranslations(Astro.url); @@ -47,7 +47,7 @@ const paths = [