Disable prefetch for /settings.

This commit is contained in:
Mike Cao 2023-12-20 13:57:31 -08:00
parent 8f9c363e9b
commit fe14f84497
1 changed files with 1 additions and 0 deletions

View File

@ -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>