Skip to content

Commit 2f59995

Browse files
ascorbicgatsbybot
and
gatsbybot
authored
fix(gatsby-source-contentful): Remove image beta warning (#29980)
Co-authored-by: gatsbybot <[email protected]>
1 parent 3249ed2 commit 2f59995

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

packages/gatsby-source-contentful/src/extend-node-type.js

+1-11
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,7 @@ const fluidNodeType = ({ name, getTracedSVG }) => {
664664
}
665665
}
666666

667-
let warnedForBeta = false
668-
669-
exports.extendNodeType = ({ type, store, reporter }) => {
667+
exports.extendNodeType = ({ type, store }) => {
670668
if (type.name !== `ContentfulAsset`) {
671669
return {}
672670
}
@@ -769,14 +767,6 @@ exports.extendNodeType = ({ type, store, reporter }) => {
769767

770768
// gatsby-plugin-image
771769
const getGatsbyImageData = () => {
772-
if (!warnedForBeta) {
773-
reporter.warn(
774-
stripIndent`
775-
Thank you for trying the beta version of the \`gatsbyImageData\` API. Please provide feedback and report any issues at: https://github.com/gatsbyjs/gatsby/discussions/27950`
776-
)
777-
warnedForBeta = true
778-
}
779-
780770
const fieldConfig = getGatsbyImageFieldConfig(resolveGatsbyImageData, {
781771
jpegProgressive: {
782772
type: GraphQLBoolean,

0 commit comments

Comments
 (0)