Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat: Enable prefetch

Richie McIlroy9f0b99fde912
diff --git a/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx b/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx
index 3b4e495b4..e7acce5a9 100644
--- a/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx
+++ b/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx
@@ -181,7 +181,7 @@ export const AdminNavItems = ({ collapsed }: { collapsed?: boolean }) => {
>
<Link
passHref
- prefetch={false}
+ prefetch={true}
href={item.href}
className={classNames(
pathname.includes(item.href)