example-company-website-gatsby-sanity-combo
example-company-website-gatsby-sanity-combo copied to clipboard
Using Gatsby Cloud - Preview build fails
trafficstars
If you install the project to Gatsby Cloud the preview build fails with the following error:
Error Generating development JavaScript bundle failed /usr/src/app/www/web/src/components/block-content/slideshow.js
Error React Hook "useState" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return? react-hooks/rules-of-hooks
Thanks for reporting – we'll look into it!