'use client'; import Link from 'next/link'; import { memo } from 'react'; import { usePathname } from 'next/navigation'; import { LayoutDashboard, Users, Calendar, UserCog, FlaskConical, FileText, CreditCard } from 'lucide-react'; const menu = [ { name: 'Today', path: '/today', icon: LayoutDashboard }, { name: 'Patients', path: '/patients', icon: Users }, { name: 'Appointments', path: '/appointments', icon: Calendar }, { name: 'Staff Management', path: '/staff', icon: UserCog }, { name: 'Lab Management', path: '/lab', icon: FlaskConical }, { name: 'Billing', path: '/billing', icon: CreditCard }, { name: 'Reports', path: '/reports', icon: FileText }, ]; function Sidebar() { const pathname = usePathname(); return ( ); } export default memo(Sidebar);