diff --git a/ui/src/components/SidebarSection.tsx b/ui/src/components/SidebarSection.tsx index da77f37c..3dd68feb 100644 --- a/ui/src/components/SidebarSection.tsx +++ b/ui/src/components/SidebarSection.tsx @@ -1,40 +1,17 @@ -import { ChevronRight, type LucideIcon } from "lucide-react"; -import { useState, type ReactNode } from "react"; -import { cn } from "../lib/utils"; -import { - Collapsible, - CollapsibleContent, - CollapsibleTrigger, -} from "@/components/ui/collapsible"; +import type { ReactNode } from "react"; interface SidebarSectionProps { label: string; - icon?: LucideIcon; children: ReactNode; - defaultOpen?: boolean; } -export function SidebarSection({ - label, - children, - defaultOpen = true, -}: SidebarSectionProps) { - const [open, setOpen] = useState(defaultOpen); - +export function SidebarSection({ label, children }: SidebarSectionProps) { return ( - - +
+
{label} - - - -
{children}
-
- +
+
{children}
+
); }