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 10:22:11 +0700
commitf1d9a308f61e67f4c896608e73ac8413f61fa8af (patch)
tree5df46a369dff072a0d237197e84049b885b92280 /src/lib/category/components/Category.jsx
parent3c4e65912b63c7abdd51747804283dadb09082b3 (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)}