-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAQJsonLD erroring #18
Comments
Would you be comfortable creating a PR with a fix for this? |
Will have a dig around today. Not familiar with Gatsby plugins but this might be a good first contribution. 😁 |
Right I've had a look and I've worked it out to be an issue with this block in
When I console log I'm unsure what this block does and also unsure how to tweak this plugin as it appears to be in TypeScript. |
Thanks for looking into it. I'll make some time to provide a fix. This week is already full of deadlines, so maybe next week at the earliest. |
change "mainEntity" to "questions" should just work |
Documentation PR submitted. |
Thanks @jayjayzheng and @shanejones! 😄 |
Just noticed what appears to be an error with FAQ Schema
To double-check it wasn't my markup I used your example code from within the repo
In my imports I have
And in the main component block, I have
The error I'm getting is
TypeError: can't access property "map", questions is undefined
I have this in a component that also uses ArticleJsonLd and that is outputting fine on the page.
The text was updated successfully, but these errors were encountered: