mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01: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…
Add table
Add a link
Reference in a new issue