Disable prefetch for /settings.
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user