I got this error when i try to setup what i need to do?
ganweide opened this issue · 1 comments
ganweide commented
⨯ src\app_components\Categories\CategoryCard\index.tsx (22:45) @ url
⨯ TypeError: Cannot read properties of null (reading 'url')
at CategoryCard (./src/app/_components/Categories/CategoryCard/index.tsx:26:43)
20 | href="/products"
21 | className={classes.card}
22 | style={{ backgroundImage:
url(${media.url})
}}
| ^
23 | onClick={() => setCategoryFilters([category.id])}
24 | >
25 |{category.title}