summaryrefslogtreecommitdiff
path: root/src/lib/category/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
commitb4abdb00ef83aa824e8a05d5b75df48adb7b9629 (patch)
tree86ce2454793fe31b54a87f151433cbf86dbed134 /src/lib/category/components
parent31816dc3a6cb62e1480524c8f0065a7835fefdcd (diff)
semi dynamic page
Diffstat (limited to 'src/lib/category/components')
-rw-r--r--src/lib/category/components/Category.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/category/components/Category.jsx b/src/lib/category/components/Category.jsx
index eddedd24..884a871f 100644
--- a/src/lib/category/components/Category.jsx
+++ b/src/lib/category/components/Category.jsx
@@ -51,7 +51,11 @@ const Category = () => {
<div className='flex flex-col gap-y-3'>
{child1Category.childs.map((child2Category) => (
<Link
- href={createSlug('/shop/category/', child2Category.name, child2Category.id)}
+ href={createSlug(
+ '/shop/category/',
+ child2Category.name,
+ child2Category.id
+ )}
className='category-mega-box__child-two'
key={child2Category.id}
>