diff --git a/frontend/src/components/navigation/DesktopSidebar.tsx b/frontend/src/components/navigation/DesktopSidebar.tsx index feb46608..7f5cc5f3 100644 --- a/frontend/src/components/navigation/DesktopSidebar.tsx +++ b/frontend/src/components/navigation/DesktopSidebar.tsx @@ -71,14 +71,19 @@ export function DesktopSidebar() { } } + const [homeItem, ...routeItems] = items const navItems: MoreDrawerItem[] = [ + homeItem, { key: 'repos', label: 'Repos', icon: FolderGit2 }, - ...items, + ...routeItems, ] return ( <> +
+ +
{primary.length > 0 && ( @@ -96,15 +101,6 @@ export function DesktopSidebar() { )} -
- {!collapsed && ( -
- Navigation -
- )} - -
-
{navItems.map((item: MoreDrawerItem) => ( { - navigateAndClose('/') - } - return ( <>
-