Skip to content

Commit

Permalink
correct esline issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sulaiman-fern committed Jul 30, 2024
1 parent eaee4b0 commit 687c049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/app/src/sidebar/CollapseSidebarContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const CollapseSidebarProvider: FC<
return [selectedNodeId, ...(parentIdMap.get(selectedNodeId) ?? [])];
}
}
}, [selectedNodeId, parentIdMap]);
}, [selectedNodeId, parentIdMap, sidebar]);

const [expanded, setExpanded] = useState<FernNavigation.NodeId[]>(() => initializeExpandedSections());

Expand Down

0 comments on commit 687c049

Please sign in to comment.