diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 2a413d7..a73ec89 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -195,8 +195,8 @@ 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 } + ]} />
@@ -209,8 +209,8 @@ export default function ProductPage({ params }: ProductPageProps) { total={`$${cartTotal}`} buttons={[ { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, - }, + text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout + } ]} />