mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 05:09:12 +03:00
Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
1 parent
76939514f0
commit
9104fc75cf
1 file changed
-2
@@ -5,8 +5,6 @@ import { ResizableHandle, ResizablePanel, cn } from 'ui'
|
||||
export const LayoutSidebar = () => {
|
||||
const { activeSidebar } = useSidebarManagerSnapshot()
|
||||
|
||||
if (!activeSidebar) return null
|
||||
|
||||
if (!activeSidebar?.component) {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user