Skip to content

Commit d396890

Browse files
committed
docs: add comment for isDocs in search
1 parent 5924138 commit d396890

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/search-menu/SearchMenu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ const SearchMenu: FC<SearchMenuProps> = ({ ...props }) => {
298298
defaultHighlight={itemIdx === 0}
299299
icon={chapter.icon}
300300
isDocs={ true
301+
// temporary fix
301302
// !!section.to?.startsWith('/docs/') ||
302303
// !!section.results[0]?.to?.startsWith('/docs/')
303304
}

0 commit comments

Comments
 (0)