diff --git a/web/src/components/LayoutSidebarContent.tsx b/web/src/components/LayoutSidebarContent.tsx index 53c884b..c7da962 100644 --- a/web/src/components/LayoutSidebarContent.tsx +++ b/web/src/components/LayoutSidebarContent.tsx @@ -5,7 +5,6 @@ import clsx from 'clsx' import { LAYOUT_NAV_ITEMS, - MEDIA_NAV_ITEMS, type LayoutNavItem, } from './layoutNavigation' import { SidebarLink } from './LayoutSidebarNav' @@ -30,7 +29,6 @@ export function LayoutSidebarContent({ variant = 'admin', }: LayoutSidebarContentProps) { const sidebarExpanded = isSidebarOpen || isMobileDrawerOpen - const mediaItems = visibleSidebarItems({ isAdmin, can, items: MEDIA_NAV_ITEMS }) const adminItems = visibleSidebarItems({ isAdmin, can, items: LAYOUT_NAV_ITEMS }) return ( @@ -41,19 +39,10 @@ export function LayoutSidebarContent({ onCloseMobileDrawer={onCloseMobileDrawer} />
- {label} -
- ) -} - function LayoutSidebarNav({ items, sidebarExpanded, - compactTop = false, }: { items: LayoutNavItem[] sidebarExpanded: boolean - compactTop?: boolean }) { return ( -