Skip to content

Commit

Permalink
chore(gatsby-source-contentful): Fix RichText example (gatsbyjs#33261)
Browse files Browse the repository at this point in the history
Fix Gatsby+Contentful integration
  • Loading branch information
fbuireu authored and wardpeet committed Oct 29, 2021
1 parent 4d89ea5 commit 6b3ab07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-contentful/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ const options = {
function BlogPostTemplate({ data }) {
const { bodyRichText } = data.contentfulBlogPost

return <div>{bodyRichText && renderRichText(richTextField, options)}</div>
return <div>{bodyRichText && renderRichText(bodyRichText, options)}</div>
}
```

Expand Down

0 comments on commit 6b3ab07

Please sign in to comment.