diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index f315198..38386a4 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -84,13 +84,12 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -119,13 +118,12 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -161,14 +159,13 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -188,7 +185,7 @@ export default function ProductPage({ params }: ProductPageProps) { sku={meta.sku} buttons={[ { text: "Add To Cart", onClick: handleAddToCart }, - { text: "Buy Now", onClick: handleBuyNow }, + { text: "Buy Now", onClick: handleBuyNow } ]} />
@@ -202,18 +199,39 @@ export default function ProductPage({ params }: ProductPageProps) { total={`$${cartTotal}`} buttons={[ { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, - }, + text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout + } ]} />