summaryrefslogtreecommitdiff
path: root/src/lib/category/components/Category.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-10-11 10:22:11 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-10-11 14:09:27 +0700
commit23f67959168cd0126582c44f2a5b1bfdc45b268a (patch)
treea5a612967c92f52ccdf2081402822e5e29fe66a1 /src/lib/category/components/Category.jsx
parent5b45d6ac182fcbe9d6e235a227688e0ae60869d9 (diff)
Add breadcrumb on detail product, search, brand, category page
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)}