Update src/app/shop/[id]/page.tsx

This commit is contained in:
2026-02-13 17:33:03 +00:00
parent 87e58554ab
commit 5cb803ccec

View File

@@ -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 }
]}
/>
</div>
<div id="productCart" data-section="productCart">
@@ -209,9 +209,9 @@ export default function ProductPage({ params }: ProductPageProps) {
total={`$${cartTotal}`}
buttons={[
{
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
},
]
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout
}
]}
/>
</div>
<div id="footer" data-section="footer">