https://github.com/ed-roh/react-ecommerce/blob/d59ca117e7d80cd67275d8b4a50946499e531fba/client/src/components/Item.jsx#L24 should be: ,, thumbnail: { url }, " not: ,, medium : { url }, " const { data: { attributes: { formats: { thumbnail: { url }, }, }, }, } = image; {data.attributes.image.data.attributes.formats.url}
react-ecommerce/client/src/components/Item.jsx
Line 24 in d59ca11
should be: ,, thumbnail: { url }, "
not: ,, medium : { url }, "
const {
data: {
attributes: {
formats: {
thumbnail: { url },
},
},
},
} = image;
{data.attributes.image.data.attributes.formats.url}