diff --git a/app/components/sidebar/sidebar-section-item.tsx b/app/components/sidebar/sidebar-section-item.tsx index 1b5189a8..fe61250d 100644 --- a/app/components/sidebar/sidebar-section-item.tsx +++ b/app/components/sidebar/sidebar-section-item.tsx @@ -3,11 +3,14 @@ import type { IconType } from 'react-icons' import { Button } from '../ui/button' +import { cn } from '@app/utils/cn' + namespace SidebarSectionItem { export type Props = Readonly<{ label: string href: string icon?: IconType + isDisabled?: boolean pathname?: string }> } @@ -16,6 +19,7 @@ function SidebarSectionItem({ label, href, icon: Icon, + isDisabled, pathname, }: SidebarSectionItem.Props) { const isActive = pathname === href.split('?')[0] @@ -24,9 +28,18 @@ function SidebarSectionItem({