fix: Collections not collapsing
This commit is contained in:
@@ -49,7 +49,7 @@ function SidebarLink({
|
||||
}, [depth]);
|
||||
|
||||
React.useEffect(() => {
|
||||
if (rest.expanded) {
|
||||
if (rest.expanded !== undefined) {
|
||||
setExpanded(rest.expanded);
|
||||
}
|
||||
}, [rest.expanded]);
|
||||
|
||||
Reference in New Issue
Block a user