From b7992fbf4a70aefcb6363d94713449953ff24eae Mon Sep 17 00:00:00 2001 From: mackie Date: Wed, 7 Nov 2018 17:23:18 -0800 Subject: [PATCH] fix(gatsby-source-contentful): fix structured content fields (#9768) --- packages/gatsby-source-contentful/src/normalize.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/gatsby-source-contentful/src/normalize.js b/packages/gatsby-source-contentful/src/normalize.js index bc40d002aa198..4fa6e58ec7409 100644 --- a/packages/gatsby-source-contentful/src/normalize.js +++ b/packages/gatsby-source-contentful/src/normalize.js @@ -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,