Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Using Gatsby Cloud - Preview build fails #226

Open
ChristianLobaugh opened this issue Dec 7, 2019 · 1 comment
Open

Using Gatsby Cloud - Preview build fails #226

ChristianLobaugh opened this issue Dec 7, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@ChristianLobaugh
Copy link

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

@kmelve
Copy link
Member

kmelve commented Dec 9, 2019

Thanks for reporting – we'll look into it!

@kmelve kmelve added the bug Something isn't working label Dec 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants