We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52b2869 commit eace2a3Copy full SHA for eace2a3
src/index.tsx
@@ -98,11 +98,8 @@ export function MDXRemote({
98
)
99
}
100
101
- // wrapping the content with MDXProvider will allow us to customize the standard
102
- // markdown components (such as "h1" or "a") with the "components" object
103
- const content = (
104
- <Content components={components} />
105
- )
+ // Pass custom markdown components (such as "h1" or "a") via the "components" object
+ const content = <Content components={components} />
106
107
// If lazy = true, we need to render a wrapping div to preserve the same markup structure that was SSR'd
108
return lazy ? <div>{content}</div> : content
0 commit comments