From 9011356ca3efcf400b9bac22a6fafa51c6c038cf Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Feb 2026 14:04:17 +0000 Subject: [PATCH] Update src/app/shop/page.tsx --- src/app/shop/page.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 6e6fad7..6215a39 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -13,9 +13,12 @@ export default function ShopPage() { isLoading, search, setSearch, + category, + setCategory, + sort, + setSort, filters, - cartOpen, - setCartOpen + categories } = useProductCatalog({ basePath: "/shop" }); if (isLoading) { @@ -45,7 +48,7 @@ export default function ShopPage() { {"name":"Contact","id":"contact"}, {"name":"Shop","id":"/shop"} ]} - button={{ text: "Cart", onClick: () => setCartOpen(true) }} + button={{ text: "Cart", href: "/shop" }} />
@@ -94,7 +97,7 @@ export default function ShopPage() { {"name":"Contact","id":"contact"}, {"name":"Shop","id":"/shop"} ]} - button={{ text: "Cart", onClick: () => setCartOpen(true) }} + button={{ text: "Cart", href: "/shop" }} />