Skip to content

Commit

Permalink
fix MdxContent types
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Apr 2, 2024
1 parent 3ca081f commit 452b370
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/ui/app/src/mdx/MdxContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ export const MdxContent = React.memo<MdxContent.Props>(function MdxContent({ mdx

return (
<FernErrorBoundary component="MdxContent">
<MDXRemote {...mdx} components={COMPONENTS}></MDXRemote>
<MDXRemote
scope={mdx.scope}
frontmatter={mdx.frontmatter}
compiledSource={mdx.compiledSource}
components={COMPONENTS}
/>
</FernErrorBoundary>
);
});

0 comments on commit 452b370

Please sign in to comment.