apps/web: disable Link prefetch
This commit is contained in:
parent
93d16cf35c
commit
c616b981f1
@ -60,7 +60,7 @@ function Logo() {
|
||||
return (
|
||||
<Flex flexDirection="column" alignItems="flex-start" justifyContent="space-between">
|
||||
<ImageWrapper>
|
||||
<Link href="/">
|
||||
<Link prefetch={false} href="/">
|
||||
<Image priority className={styles.logo} alt="logo" src={logo} layout="responsive" />
|
||||
</Link>
|
||||
</ImageWrapper>
|
||||
|
||||
@ -11,12 +11,20 @@ const items: MenuProps['items'] = [
|
||||
{
|
||||
// icon: <HomeOutlined />,
|
||||
key: '/',
|
||||
label: <Link href="/">Главная</Link>,
|
||||
label: (
|
||||
<Link prefetch={false} href="/">
|
||||
Главная
|
||||
</Link>
|
||||
),
|
||||
},
|
||||
{
|
||||
// icon: <PlusSquareOutlined />,
|
||||
key: '/unlimited',
|
||||
label: <Link href="/unlimited">Без ограничений</Link>,
|
||||
label: (
|
||||
<Link prefetch={false} href="/unlimited">
|
||||
Без ограничений
|
||||
</Link>
|
||||
),
|
||||
},
|
||||
],
|
||||
icon: <AppstoreOutlined />,
|
||||
@ -28,7 +36,11 @@ const items: MenuProps['items'] = [
|
||||
{
|
||||
// icon: <DatabaseOutlined />,
|
||||
key: '/admin/cache',
|
||||
label: <Link href="/admin/cache">Управление кэшем</Link>,
|
||||
label: (
|
||||
<Link prefetch={false} href="/admin/cache">
|
||||
Управление кэшем
|
||||
</Link>
|
||||
),
|
||||
},
|
||||
],
|
||||
icon: <SettingOutlined />,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user