mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Disable prefetch for /settings.
This commit is contained in:
parent
8f9c363e9b
commit
fe14f84497
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ export function NavBar() {
|
||||||
key={url}
|
key={url}
|
||||||
href={url}
|
href={url}
|
||||||
className={classNames({ [styles.selected]: pathname.startsWith(url) })}
|
className={classNames({ [styles.selected]: pathname.startsWith(url) })}
|
||||||
|
prefetch={url !== '/settings'}
|
||||||
>
|
>
|
||||||
<Text>{label}</Text>
|
<Text>{label}</Text>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue