From d2ae9eedddbb5baa598a9bd1c2016dbb1f1a1075 Mon Sep 17 00:00:00 2001 From: Saxon Fletcher Date: Fri, 24 Oct 2025 08:32:36 +1000 Subject: [PATCH] Update apps/studio/state/sidebar-manager-state.tsx Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> --- apps/studio/state/sidebar-manager-state.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/studio/state/sidebar-manager-state.tsx b/apps/studio/state/sidebar-manager-state.tsx index 308bbd4d891..375ce4b0a87 100644 --- a/apps/studio/state/sidebar-manager-state.tsx +++ b/apps/studio/state/sidebar-manager-state.tsx @@ -46,7 +46,7 @@ const createSidebarManagerState = () => { component: () => ReactNode | undefined, handlers: SidebarHandlers = {} ) { - const existing = state.sidebars[id] + const existing = !!state.sidebars[id] state.sidebars[id] = { id, component,