Update src/app/shop/page.tsx

This commit is contained in:
2026-02-13 15:27:17 +00:00
parent e474ff1697
commit 927cae7042

View File

@@ -6,6 +6,7 @@ import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatin
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog"; import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { useProductCatalog } from "@/hooks/useProductCatalog"; import { useProductCatalog } from "@/hooks/useProductCatalog";
import { useState } from "react";
export default function ShopPage() { export default function ShopPage() {
const { const {
@@ -15,6 +16,8 @@ export default function ShopPage() {
setSearch, setSearch,
filters, filters,
} = useProductCatalog({ basePath: "/shop" }); } = useProductCatalog({ basePath: "/shop" });
const [cartOpen, setCartOpen] = useState(false);
if (isLoading) { if (isLoading) {
return ( return (