-
I am running a StaticQuery as follows :
query MyQuery {
)} /> but I am getting the following error, even though I believe my graphQL query is accurate as it works in the IDE Generating development JavaScript bundle failed /Users/Zack/Desktop/wp-gatsby/beautiful-gatsby-site/src/components/MainMenu.js: 24 | `} render={data => (
File: src/components/MainMenu.js:26:11 Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The formatting is really messed up so it's a little unclear, but I think your issue is in the render component:
That render function looks wrong, but it's hard to know what you are trying to do. Start with the simplest thing and build outwards:
|
Beta Was this translation helpful? Give feedback.
The formatting is really messed up so it's a little unclear, but I think your issue is in the render component:
That render function looks wrong, but it's hard to know what you are trying to do. Start with the simplest thing and build outwards: