diff --git a/src/components/Filters/CategoryFilterPopup.tsx b/src/components/Filters/CategoryFilterPopup.tsx index d118991..d4abdfe 100644 --- a/src/components/Filters/CategoryFilterPopup.tsx +++ b/src/components/Filters/CategoryFilterPopup.tsx @@ -252,18 +252,24 @@ export const CategoryFilterPopup = ({ )} - {(categoriesData as Category[]).map((category, i) => ( - - ))} + {(categoriesData as Category[]).map((category) => { + const name = + typeof category === 'string' ? category : category.name + return ( + + ) + })}