Skip to content

Commit 82c311a

Browse files
committed
feat: simplify MDXContent component usage by removing unnecessary props
1 parent 0b493e4 commit 82c311a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/[...slug]/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ export default async function Page(props: {
2929
<DocsDescription>{page.data.description}</DocsDescription>
3030
<DocsBody>
3131
<MDXContent
32-
components={getMDXComponents({
33-
// this allows you to link to other pages with relative file paths
34-
a: createRelativeLinkWithFilenameOnly(source, page),
35-
})}
32+
components={getMDXComponents()}
3633
/>
3734
</DocsBody>
3835
</DocsPage>

0 commit comments

Comments
 (0)