Replies: 1 comment
-
I think you can do either
or
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have migrated from
gatbsy-image
togatsby-plugin-image
on one of my existing blog site. But every time I map my blog post data and put it in the image as a dynamic image, it gives a type error in image props. I understand that before running the loop, I am not getting anything as image props, so it's giving a type error. I can put a backup image here so the type error goes away but I don't think it's an efficient way.My code
Type error
Beta Was this translation helpful? Give feedback.
All reactions