Expected src to be an image.
ExpectedImage: Expected
src
property to be either an ESM imported image or a string with the path of a remote image. ReceivedOPTIONS
.
What went wrong?
Section titled What went wrong?An image’s src
property is not valid. The Image component requires the src
attribute to be either an image that has been ESM imported or a string. This is also true for the first parameter of getImage()
.
In most cases, this error happens when the value passed to src
is undefined.
See Also: