Skip to content

Commit

Permalink
fix(contentful): set proper defaults for gatsby-plugin-image (#30536)
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger authored Mar 30, 2021
1 parent b9791fe commit 418c3bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby-source-contentful/src/extend-node-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,9 @@ exports.extendNodeType = ({ type, store }) => {

fieldConfig.type = GraphQLJSON

fieldConfig.args.placeholder.defaultValue = `dominantColor`
fieldConfig.args.layout.defaultValue = `constrained`

return fieldConfig
}

Expand Down

0 comments on commit 418c3bc

Please # to comment.