Skip to content

Commit 8342bbf

Browse files
committed
fixes bad rebase
1 parent 00916f1 commit 8342bbf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/src/components/LayoutDocs.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,16 @@ export default function LayoutDocs({ meta, children }: Props) {
8989
id="main-landmark"
9090
className={s['markdown'] + ' w-full docs scroll-mt-24'}
9191
>
92-
<h1 id="_top">{props.meta.title}</h1>
93-
<MDXProvider components={MDXComponents}>
94-
{props.children}
95-
</MDXProvider>
92+
<h1 id="_top">{meta.title}</h1>
93+
{children}
9694
<DocsPageFooter
9795
href={route?.path || ''}
9896
route={route}
9997
prevRoute={prevRoute}
10098
nextRoute={nextRoute}
10199
/>
102100
</main>
103-
{props.meta.toc === false ? null : (
101+
{meta.toc === false ? null : (
104102
<div
105103
className="hidden xl:block ml-10 shrink-0"
106104
style={{

0 commit comments

Comments
 (0)