Closed fabienheureux closed 4 years ago
useStaticQuery hook from gatsby is broken.
useStaticQuery
gatsby
This is an attempt to fix it based on commit from gatsby-source-graphql-universal whose babel-plugin-remove-graphql-queries file is based on: https://github.com/birkir/gatsby-source-graphql-universal/commit/a68e20d0cad230a778928809300959a95a536788
gatsby-source-graphql-universal
Ready for review @NathHorrigan
It is out of topic, but I updated my master branch in order to fix https://github.com/NathHorrigan/gatsby-source-wagtail/pull/14 as well.
useStaticQuery
hook fromgatsby
is broken.This is an attempt to fix it based on commit from
gatsby-source-graphql-universal
whose babel-plugin-remove-graphql-queries file is based on: https://github.com/birkir/gatsby-source-graphql-universal/commit/a68e20d0cad230a778928809300959a95a536788