|
|
@ -37,16 +37,14 @@ export default function Category({category: {items, children, parent, ...categor
|
|
|
|
<CategoryCard category={childCategory}/>
|
|
|
|
<CategoryCard category={childCategory}/>
|
|
|
|
))}
|
|
|
|
))}
|
|
|
|
</div>}
|
|
|
|
</div>}
|
|
|
|
<div className={styles.items}>
|
|
|
|
|
|
|
|
{items.length > 0 ? (
|
|
|
|
|
|
|
|
<div className="cardContainer">
|
|
|
|
|
|
|
|
{items.map(item=>
|
|
|
|
|
|
|
|
<Card item={item}/>
|
|
|
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
) : <p>No items found</p> }
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{items.length > 0 ? (
|
|
|
|
|
|
|
|
<div className="cardContainer">
|
|
|
|
|
|
|
|
{items.map(item=>
|
|
|
|
|
|
|
|
<Card item={item}/>
|
|
|
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
) : <p>No items found</p> }
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|