Skip to content

Commit

Permalink
Configured prettier locally to properly format code
Browse files Browse the repository at this point in the history
  • Loading branch information
sulaiman-fern committed Jul 29, 2024
1 parent 914dc64 commit e95ee80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/app/src/sidebar/nodes/SidebarSectionNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export function SidebarSectionNode({ node, className, depth }: SidebarSectionNod
return null;
}

const expanded =
selectedNodeId === node.id || checkExpanded(node.id) || (childSelected && node.overviewPageId != null)
const expanded =
selectedNodeId === node.id || checkExpanded(node.id) || (childSelected && node.overviewPageId != null);
const showIndicator = childSelected && !expanded;
return (
<SidebarSlugLink
Expand Down

0 comments on commit e95ee80

Please sign in to comment.