diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 37ac06d..8d4e0d9 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -27,10 +27,10 @@ export default function BlogPage() { ; + params: { id: string }; } export default function ProductPage({ params }: ProductPageProps) { @@ -25,7 +25,7 @@ export default function ProductPage({ params }: ProductPageProps) { } function ProductPageContent({ params }: ProductPageProps) { - const { id } = use(params); + const { id } = params; const router = useRouter(); const { @@ -95,7 +95,6 @@ function ProductPageContent({ params }: ProductPageProps) { brandName="Pia" bottomLeftText="Experience the perfect brew." bottomRightText="hello@piacoffee.com" - button={{ text: "Cart", onClick: () => setCartOpen(true) }} />
@@ -104,8 +103,8 @@ function ProductPageContent({ params }: ProductPageProps) {
@@ -155,8 +153,8 @@ function ProductPageContent({ params }: ProductPageProps) {
@@ -230,8 +227,8 @@ function ProductPageContent({ params }: ProductPageProps) {
@@ -71,8 +70,8 @@ function ShopPageContent() {
@@ -136,8 +134,8 @@ function ShopPageContent() {