diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 67ed853bc..6f4058b8b 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -269,6 +269,12 @@ export const DocsNav = ({ }); useEffect(() => { const pathWtihoutFragment = extractPathWithoutFragment(router.asPath); + setActive({ + getDocs: false, + getStarted: false, + getReference: false, + getSpecification: false, + }); if (getDocsPath.includes(pathWtihoutFragment)) { setActive({ ...active, getDocs: true }); } else if (getStartedPath.includes(pathWtihoutFragment)) {