Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sulaiman-fern committed Jul 29, 2024
1 parent e95ee80 commit 7f089f8
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 @@ -108,7 +108,7 @@ export const CollapseSidebarProvider: FC<
} else {
if (sidebar) {
const selectedNodes: FernNavigation.NodeId[] = [];
FernNavigation.utils.traverseNavigation(sidebar, (node, _index, parents) => {
FernNavigation.utils.traverseNavigation(sidebar, (node, _index, _parents) => {
if (FernNavigation.isSection(node) && node.type === "section") {
if (!node?.collapsed) {
selectedNodes.push(...[node.id, ...(parentIdMap.get(node.id) ?? [])]);
Expand Down

0 comments on commit 7f089f8

Please sign in to comment.