Skip to content

using useStaticQuery in custom hook breaks build #38916

Answered by nickburczyk
nickburczyk asked this question in Help
Discussion options

You must be logged in to vote

Update: I got the build to succeed by renaming the src/api folder to src/hooks. Is API a protected folder name similar to pages in gatsby?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@violy
Comment options

Answer selected by nickburczyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants