diff --git a/src/components/HeaderLink.astro b/src/components/HeaderLink.astro index 1fd1b56..3b6ccf2 100644 --- a/src/components/HeaderLink.astro +++ b/src/components/HeaderLink.astro @@ -1,6 +1,6 @@ --- const { href, class: className, ...props } = Astro.props; -let isActive; +let isActive: boolean; if (href === "/") { isActive = Astro.url.pathname === href; @@ -13,6 +13,7 @@ if (href === "/") { +