DEV Community

Discussion on: Making New Projects with Gatsby & Sanity

wispyco profile image
Wispy • Edited on

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.

doylecodes profile image
Ryan Doyle Author

Yes thanks! I made these changes