mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 05:09:12 +03:00
Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
1 parent
9104fc75cf
commit
d2ae9eeddd
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user