From e95ee80eda1d11fd7f97a9c25bbb4f4c16dfd6ef Mon Sep 17 00:00:00 2001 From: Sulaiman Hamouda Date: Mon, 29 Jul 2024 16:01:22 -0400 Subject: [PATCH] Configured prettier locally to properly format code --- packages/ui/app/src/sidebar/nodes/SidebarSectionNode.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/app/src/sidebar/nodes/SidebarSectionNode.tsx b/packages/ui/app/src/sidebar/nodes/SidebarSectionNode.tsx index 6e59777811..a023cf8c4d 100644 --- a/packages/ui/app/src/sidebar/nodes/SidebarSectionNode.tsx +++ b/packages/ui/app/src/sidebar/nodes/SidebarSectionNode.tsx @@ -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 (