Update apps/studio/state/sidebar-manager-state.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
Saxon FletcherandCharis authored and GitHub committed 2025-10-24 08:32:36 +10:00
1 parent 9104fc75cf
commit d2ae9eeddd
1 file changed
+1 -1
+1 -1
View File
@@ -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,