Skip to content

Commit eace2a3

Browse files
author
Bryce Kalow
committed
chore: tweak comment
1 parent 52b2869 commit eace2a3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/index.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,8 @@ export function MDXRemote({
9898
)
9999
}
100100

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-
)
101+
// Pass custom markdown components (such as "h1" or "a") via the "components" object
102+
const content = <Content components={components} />
106103

107104
// If lazy = true, we need to render a wrapping div to preserve the same markup structure that was SSR'd
108105
return lazy ? <div>{content}</div> : content

0 commit comments

Comments
 (0)