refactor: add category and sub-cagory page for collections
This commit is contained in:
@@ -101,7 +101,7 @@ const Navbar = () => {
|
||||
const categoryItems = category
|
||||
? category.map((category) => ({
|
||||
label: category.category_name,
|
||||
url: `/collections/${category.id}`,
|
||||
url: `/category/${category.id}`,
|
||||
}))
|
||||
: []; // Fallback to an empty array if category is undefined
|
||||
|
||||
|
||||
Reference in New Issue
Block a user