Skip to content
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

Missing nested node in image sharp fixed #1

Merged
merged 1 commit into from Nov 18, 2020
Merged

Conversation

fbuireu
Copy link
Contributor

@fbuireu fbuireu commented Nov 18, 2020

I've fixed the format in the nested childImageSharp prop while looping through images. Since you've added the images in the Gatsby filesystem, they are parsed by the image sharp, making them available to be queried via GraphQL.

You were missing some nested objects to get the final fluid image; to achieve it, I've changed your structure, allowing the component to return something (if you place a console.log() above the return, you will be able to debug) and I've fixed your nested object.

Happy coding!

@knupel knupel merged commit a58a7d9 into knupel:main Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants