Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Disable prefetch for /settings.

Mike Caofe14f84497d0
diff --git a/src/app/(main)/NavBar.tsx b/src/app/(main)/NavBar.tsx
index e241a0590..14a360f89 100644
--- a/src/app/(main)/NavBar.tsx
+++ b/src/app/(main)/NavBar.tsx
@@ -72,6 +72,7 @@ export function NavBar() {
key={url}
href={url}
className={classNames({ [styles.selected]: pathname.startsWith(url) })}
+ prefetch={url !== '/settings'}
>
<Text>{label}</Text>
</Link>