diff --git a/components/Callout.jsx b/components/Callout.jsx index f6e39aa..e459ea9 100644 --- a/components/Callout.jsx +++ b/components/Callout.jsx @@ -27,7 +27,7 @@ export function Callout({ type = 'note', title, children }) { return (
{title} diff --git a/components/DocsSidebarNavigation.jsx b/components/DocsSidebarNavigation.jsx index d1ca716..243d8ed 100644 --- a/components/DocsSidebarNavigation.jsx +++ b/components/DocsSidebarNavigation.jsx @@ -25,7 +25,7 @@ export function DocsSidebarNavigation({ className, data, navigation }) { if (!currentNode) { return false; } - + return section.links.some(link => link.href.includes(currentNode.uri)); }; @@ -61,7 +61,7 @@ export function DocsSidebarNavigation({ className, data, navigation }) { >