diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 0bdfb9e..6c1cd8c 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { use, useCallback, useState } from "react"; +import { use, useCallback } from "react"; import { useRouter } from "next/navigation"; import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; @@ -19,7 +19,6 @@ interface ProductPageProps { export default function ProductPage({ params }: ProductPageProps) { const { id } = use(params); const router = useRouter(); - const [cartOpen, setCartOpen] = useState(false); const { product, @@ -91,7 +90,6 @@ export default function ProductPage({ params }: ProductPageProps) { ]} bottomLeftText="Blog Community" bottomRightText="hello@writehub.com" - button={{ text: "Cart", onClick: () => setCartOpen(true) }} />
@@ -126,7 +124,6 @@ export default function ProductPage({ params }: ProductPageProps) { ]} bottomLeftText="Blog Community" bottomRightText="hello@writehub.com" - button={{ text: "Cart", onClick: () => setCartOpen(true) }} />
@@ -168,7 +165,6 @@ export default function ProductPage({ params }: ProductPageProps) { ]} bottomLeftText="Blog Community" bottomRightText="hello@writehub.com" - button={{ text: "Cart", onClick: () => setCartOpen(true) }} />