refactor: remove prefetch attribute from sidebar and navigation links
This commit is contained in:
parent
3fcdaa7475
commit
2d5d0b8eb1
@ -147,7 +147,7 @@ export function AppSidebar() {
|
||||
<SidebarMenu>
|
||||
<SidebarMenuItem>
|
||||
<SidebarMenuButton size="lg" asChild>
|
||||
<Link href={dashboard().url} prefetch>
|
||||
<Link href={dashboard().url}>
|
||||
<AppLogo />
|
||||
</Link>
|
||||
</SidebarMenuButton>
|
||||
|
||||
@ -29,7 +29,7 @@ export function NavMain({
|
||||
isActive={item.isActive || isCurrentOrParentUrl(item.href)}
|
||||
tooltip={{ children: item.title }}
|
||||
>
|
||||
<Link href={item.href} prefetch>
|
||||
<Link href={item.href}>
|
||||
{item.icon && <item.icon />}
|
||||
<span>{item.title}</span>
|
||||
</Link>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user