diff --git a/src/components/DocsHeader.tsx b/src/components/DocsHeader.tsx index b885e322..2554b10c 100644 --- a/src/components/DocsHeader.tsx +++ b/src/components/DocsHeader.tsx @@ -61,7 +61,7 @@ export function usePathname() { } function isActiveMenuItem(pathname: string, item: MenuItem) { - if (item.label === 'Build') return pathname === '/' || pathname.startsWith('/build') + if (item.label === 'Build') return pathname.startsWith('/build') if (item.label === 'Resources') return pathname === '/docs/sdk' || pathname.startsWith('/docs/sdk/') if (item.label === 'Docs') return pathname === '/docs' || pathname.startsWith('/docs/') @@ -1095,7 +1095,7 @@ export default function DocsHeader() {