From eaac35a0c31969fdd5bbab59d1e78afc3caaad9d Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Thu, 18 Aug 2022 23:42:35 +0300 Subject: [PATCH] fix: fixed active links in header --- src/components/Header/Header.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Header/Header.astro b/src/components/Header/Header.astro index ac908b8..5c9cf8f 100644 --- a/src/components/Header/Header.astro +++ b/src/components/Header/Header.astro @@ -1,6 +1,7 @@ --- import { Icon } from "astro-icon"; import { IS_SITE_UNDER_CONSTRUCTION, SITE_METADATA } from "@root/config"; +import { removeSlashes } from "@utils/string"; import ThemeSwitcher from "@components/ThemeSwticher"; import UIString from "@components/UIString"; import TranslatedLink from "@components/TranslatedLink"; @@ -24,7 +25,7 @@ const { pathname } = Astro.url; { nav.map((link) => (
  • - +