Skip to content

Commit

Permalink
fix(gatsby-source-contentful): fix structured content fields (#9768)
Browse files Browse the repository at this point in the history
  • Loading branch information
macklinu authored and pieh committed Nov 8, 2018
1 parent 8b1b89b commit b7992fb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/gatsby-source-contentful/src/normalize.js
Expand Up @@ -193,13 +193,7 @@ function prepareTextNode(node, key, text, createNode, createNodeId) {
return textNode
}

function prepareStructuredTextNode(
node,
key,
content,
createNode,
createNodeId
) {
function prepareStructuredTextNode(node, key, content, createNodeId) {
const str = JSON.stringify(content)
const structuredTextNode = {
...content,
Expand Down

0 comments on commit b7992fb

Please sign in to comment.