Skip to content

Commit c64d322

Browse files
CrashWireGatsbyJS Bot
authored and
GatsbyJS Bot
committed
fix(gatsby-plugin-mdx): Fix graphql query examples in readme (#15691)
* Update gatsby-plugin-mdx readme example Follow schema change from 19f7396 * Update gatsby-plugin-mdx readme example with missed changes * Fix gatsby-plugin-mdx readme’s MDXRenderer example Co-Authored-By: Ward Peeters <[email protected]> * prettier update
1 parent 6bd0109 commit c64d322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby-plugin-mdx/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ import { MDXRenderer } from "gatsby-plugin-mdx"
440440

441441
export default class MyPageLayout {
442442
render() {
443-
;<MDXRenderer>{this.props.data.mdx.body}</MDXRenderer>
443+
return <MDXRenderer>{this.props.data.mdx.body}</MDXRenderer>
444444
}
445445
}
446446

0 commit comments

Comments
 (0)