Skip to content

Commit 58f2e7b

Browse files
Copilothotlong
andcommitted
Fix duplicate navigation in DocsLayout - remove links prop
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 11cb3d9 commit 58f2e7b

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

apps/site/app/docs/layout.tsx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,6 @@ export default function Layout({ children }: { children: ReactNode }) {
88
<DocsLayout
99
tree={source.pageTree}
1010
nav={{ title: <Logo />, url: '/' }}
11-
links={[
12-
{
13-
text: 'Guide',
14-
url: '/docs/guide',
15-
active: 'nested-url',
16-
},
17-
{
18-
text: 'Components',
19-
url: '/docs/components',
20-
active: 'nested-url',
21-
},
22-
{
23-
text: 'Ecosystem',
24-
url: '/docs/ecosystem',
25-
active: 'nested-url',
26-
},
27-
{
28-
text: 'Blog',
29-
url: '/blog',
30-
active: 'nested-url',
31-
},
32-
]}
3311
>
3412
{children}
3513
</DocsLayout>

0 commit comments

Comments
 (0)