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