docs: fix category not opening in api reference from algolia search (#8690)
This commit is contained in:
@@ -47,7 +47,7 @@ export const SidebarItemCategory = ({
|
||||
if (isActive && !open) {
|
||||
setOpen(true)
|
||||
}
|
||||
}, [isChildrenActive])
|
||||
}, [isChildrenActive, item.children])
|
||||
|
||||
useEffect(() => {
|
||||
if (!persistState) {
|
||||
|
||||
Reference in New Issue
Block a user