Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Merge branch 'main' of https://github.com/CapSoftware/cap

Richie McIlroy87b2ed96253a
diff --cc apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx
index e7acce5a9,2bfe8abda..440d5d4e6
--- a/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx
+++ b/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx
@@@ -181,14 -205,9 +205,9 @@@ export const AdminNavItems = ({ collaps
>
<Link
passHref
- prefetch={false}
+ prefetch={true}
href={item.href}
- className={classNames(
- pathname.includes(item.href)
- ? "bg-white text-gray-400 border-[1px] border-gray-200 shadow-sm shadow-gray-200"
- : "hover:opacity-75",
- navItemClass
- )}
+ className={classNames("hover:opacity-75", navItemClass)}
>
<FontAwesomeIcon
icon={item.icon as IconDefinition}