Skip to content

TypeError: Cannot read property ‘link’ of undefined #20

@EasyCoder-droid

Description

@EasyCoder-droid

Could you please sincerely help?
I've git cloned the project and 'npm install' it
and then I tried to 'npm start' it and it shows up with this:

products?.map(product => (
10 | <Product
11 | title={product.name}

12 | image={product.imagesRoutes[0].link}
| ^ 13 | price={product.price}
14 | rating={4}
15 | key={product.id}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions