Thanks needed a reminder on what I did to get this setup with Gatsby before. One thing to note in your instructions sanity graphQL deploy needs to be lowercase sanity graphql deploy. And finally your importing import sp from './sponsor'; but your referencing it is sponsor lower down so it should be import sponsor from './sponsor'; Also I think you should be running gatsby develop not build, that's generally left for when your hosting your site, or if you need to check specific build things like lighthouse tests.
Thanks needed a reminder on what I did to get this setup with Gatsby before. One thing to note in your instructions
sanity graphQL deploy
needs to be lowercasesanity graphql deploy
. And finally your importingimport sp from './sponsor';
but your referencing it is sponsor lower down so it should beimport sponsor from './sponsor';
Also I think you should be runninggatsby develop
not build, that's generally left for when your hosting your site, or if you need to check specific build things like lighthouse tests.Yes thanks! I made these changes