fix: update dashboard link activation logic in AppSidebar component
This commit is contained in:
parent
2bb814702a
commit
1918f35ab2
@ -188,7 +188,7 @@ export function AppSidebar() {
|
||||
<SidebarMenuItem>
|
||||
<SidebarMenuButton
|
||||
asChild
|
||||
isActive={isCurrentUrl('/dashboard')}
|
||||
isActive={isCurrentUrl(dasborItem.href)}
|
||||
tooltip={{ children: dasborItem.title }}
|
||||
>
|
||||
<Link href={dasborItem.href} prefetch>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user