diff --git a/src/components/NavigationAPI.jsx b/src/components/NavigationAPI.jsx index 38095121..68727ca4 100644 --- a/src/components/NavigationAPI.jsx +++ b/src/components/NavigationAPI.jsx @@ -138,7 +138,7 @@ function NavigationGroup({ group, className, tableOfContents }) { let router = useRouter() let isActiveGroup = - group.links.findIndex((link) => link.href === router.pathname) !== -1 + group.links.findIndex((link) => link.href === router.pathname.replace("ipa", "api")) !== -1 return (