Skip to content

Commit 98df22d

Browse files
committed
chore: dont prefetch docs
1 parent 7cde7e6 commit 98df22d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

apps/docs/app/docs/layout.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ import { DocsLayout } from "fumadocs-ui/layouts/docs";
44

55
export default function Layout({ children }: LayoutProps<"/docs">) {
66
return (
7-
<DocsLayout tree={source.getPageTree()} {...baseOptions()} tabMode="top">
7+
<DocsLayout
8+
tree={source.getPageTree()}
9+
{...baseOptions()}
10+
tabMode="top"
11+
sidebar={{
12+
prefetch: false,
13+
}}
14+
>
815
{children}
916
</DocsLayout>
1017
);

0 commit comments

Comments
 (0)