diff --git a/src/client/components/Sidebar.tsx b/src/client/components/Sidebar.tsx index 9927f1f..286c5b4 100644 --- a/src/client/components/Sidebar.tsx +++ b/src/client/components/Sidebar.tsx @@ -1,6 +1,6 @@ import { Link } from "@tanstack/react-router"; import { ChevronsUpDown, X } from "lucide-react"; -import { getProjectNavItems } from "@/client/navigation/items"; +import { getProjectNavGroups } from "@/client/navigation/items"; interface SidebarProps { projectId: string; @@ -9,7 +9,7 @@ interface SidebarProps { } export function Sidebar({ projectId, onNavigate, onClose }: SidebarProps) { - const projectNavItems = getProjectNavItems(projectId); + const navGroups = getProjectNavGroups(projectId); return (
@@ -41,29 +41,61 @@ export function Sidebar({ projectId, onNavigate, onClose }: SidebarProps) {
{/* Navigation */} -