From 4bb6b64d00480983763c2bd0293108bc2a59c114 Mon Sep 17 00:00:00 2001 From: mdimamhosen Date: Sat, 5 Sep 2026 01:55:32 +0600 Subject: [PATCH] Fix isExpanded check in SidebarButton --- src/components/Layout/Sidebar/SidebarButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Layout/Sidebar/SidebarButton.tsx b/src/components/Layout/Sidebar/SidebarButton.tsx index 744172becb8..9e86018ce96 100644 --- a/src/components/Layout/Sidebar/SidebarButton.tsx +++ b/src/components/Layout/Sidebar/SidebarButton.tsx @@ -53,7 +53,7 @@ export function SidebarButton({ )} onClick={onClick}> {title} - {typeof isExpanded && !heading && ( + {isExpanded != null && !heading && (