Update src/app/shop/[id]/page.tsx
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user