Skip to content

Commit 617e876

Browse files
authored
chore(gatsby-source-contentful): Fix RichText example (#33261)
Fix Gatsby+Contentful integration
1 parent d03fe39 commit 617e876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby-source-contentful/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ const options = {
487487
function BlogPostTemplate({ data }) {
488488
const { bodyRichText } = data.contentfulBlogPost
489489

490-
return <div>{bodyRichText && renderRichText(richTextField, options)}</div>
490+
return <div>{bodyRichText && renderRichText(bodyRichText, options)}</div>
491491
}
492492
```
493493

0 commit comments

Comments
 (0)