fix: update dashboard link activation logic in AppSidebar component

This commit is contained in:
Yoga Pangestu 2026-08-09 13:16:33 +07:00
parent 2bb814702a
commit 1918f35ab2

View File

@ -188,7 +188,7 @@ export function AppSidebar() {
<SidebarMenuItem> <SidebarMenuItem>
<SidebarMenuButton <SidebarMenuButton
asChild asChild
isActive={isCurrentUrl('/dashboard')} isActive={isCurrentUrl(dasborItem.href)}
tooltip={{ children: dasborItem.title }} tooltip={{ children: dasborItem.title }}
> >
<Link href={dasborItem.href} prefetch> <Link href={dasborItem.href} prefetch>