Update src/app/shop/page.tsx
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user