@@ -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
+ }
]}
/>