From b3096d947d5122f5fd127835fd8e6fc34a2bc9c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=9C=EB=8F=99=ED=98=84?= <hando1220@ajou.ac.kr> Date: Sun, 2 Mar 2025 15:42:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B0=94=20?= =?UTF-8?q?=EB=B9=84=ED=99=9C=EC=84=B1=ED=99=94=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app-sidebar.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/app-sidebar.tsx b/src/components/app-sidebar.tsx index d91a47b..5f90f3f 100644 --- a/src/components/app-sidebar.tsx +++ b/src/components/app-sidebar.tsx @@ -77,12 +77,8 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) { <SidebarMenu> {item.items.map((item) => ( <SidebarMenuItem key={item.title}> - <SidebarMenuButton - asChild - isActive={selected === item.url} - className={token ? '' : 'cursor-not-allowed opacity-50'} - > - <Link to={item.url}> + <SidebarMenuButton asChild isActive={selected === item.url}> + <Link to={item.url} aria-disabled={token === null}> <item.icon /> {item.title} </Link> -- GitLab