summaryrefslogtreecommitdiff
path: root/src/lib/category/components/Category.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/category/components/Category.jsx')
-rw-r--r--src/lib/category/components/Category.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/category/components/Category.jsx b/src/lib/category/components/Category.jsx
index af696d42..e6ea5acf 100644
--- a/src/lib/category/components/Category.jsx
+++ b/src/lib/category/components/Category.jsx
@@ -30,7 +30,7 @@ const Category = () => {
return (
<DesktopView>
<div className='category-mega-box'>
- {categories.map((category) => (
+ {categories?.map((category) => (
<div key={category.id}>
<Link
href={createSlug('/shop/category/', category.name, category.id)}