added collection page
This commit is contained in:
1 parent
633a3c9d47
commit
e886359c5c
31 files changed
+2118
-716
No files matched your search
@@ -19,7 +19,7 @@ export default function CollectionSection({ collection, locale }: Props) {
|
||||
} = useCollectionProducts(collection.id);
|
||||
|
||||
const handleTitleClick = () => {
|
||||
router.push(`/${locale}/collections/${collection.id}`);
|
||||
router.push(`/collections/${collection.slug}`);
|
||||
};
|
||||
|
||||
// Hide section if no products
|
||||
|
||||
Reference in new issue
Block a user