I was running into an issue where a specific product wasn't showing up when using the modal search. I found that the normalizeProduct method was assuming that there was at least 1 image, which ended up throwing an error.
PR includes a default value for the imageUrl as well as a light bg colour if an image is not present.
I was running into an issue where a specific product wasn't showing up when using the modal search. I found that the
normalizeProduct
method was assuming that there was at least 1 image, which ended up throwing an error.PR includes a default value for the
imageUrl
as well as a light bg colour if an image is not present.