diff --git a/components/TempDesignSystem/Link/index.tsx b/components/TempDesignSystem/Link/index.tsx index 066532484..bd584e888 100644 --- a/components/TempDesignSystem/Link/index.tsx +++ b/components/TempDesignSystem/Link/index.tsx @@ -19,7 +19,7 @@ export default function Link({ const currentPageSlug = usePathname() let isActive = currentPageSlug === href if (partialMatch && !isActive) { - isActive = currentPageSlug.startsWith(href) + isActive = currentPageSlug === href } const classNames = linkVariants({ active: isActive,