import { Button } from '@/components/ui/button'; import { useSecondPathName } from '@/hooks/route-hook'; import { cn } from '@/lib/utils'; import { Routes } from '@/routes'; import { Banknote, LayoutGrid, Trash2, User } from 'lucide-react'; import { useHandleMenuClick } from './hooks'; const items = [ { icon: User, label: 'Dataset', key: Routes.DatasetBase }, { icon: LayoutGrid, label: 'Retrieval testing', key: Routes.DatasetTesting, }, { icon: Banknote, label: 'Settings', key: Routes.DatasetSetting }, ]; const dataset = { id: 1, title: 'Legal knowledge base', files: '1,242 files', size: '152 MB', created: '12.02.2024', image: 'https://github.com/shadcn.png', }; export function SideBar() { const pathName = useSecondPathName(); const { handleMenuClick } = useHandleMenuClick(); return ( ); }