Skip to content

Commit

Permalink
Fix small typo in useMDXComponent section
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeDuncko committed May 4, 2022
1 parent 2238cb4 commit 8c346cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/500-reference/300-next-contentlayer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default withContentlayer({})

## `useMDXComponent`

If you're using MDX in your Next.js project, `useMDXComponent` makes it to render MDX in your layouts.
If you're using MDX in your Next.js project, `useMDXComponent` makes it easy to render MDX in your layouts.

Here is an example of a layout that receives a `slug `parameter, then uses it to retrieve a document and render MDX on the page.

Expand Down

0 comments on commit 8c346cc

Please sign in to comment.