@doujins/payments-ui 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2478,7 +2478,7 @@ var SolanaPaymentSelector = ({
2478
2478
  " Scan QR Code"
2479
2479
  ] })
2480
2480
  ] }),
2481
- /* @__PURE__ */ jsx(TabsContent, { value: "wallet", className: "mt-4", children: /* @__PURE__ */ jsx(
2481
+ /* @__PURE__ */ jsx(TabsContent, { value: "wallet", className: "mt-4", children: activeTab === "wallet" && /* @__PURE__ */ jsx(
2482
2482
  DirectPayment,
2483
2483
  {
2484
2484
  priceId,
@@ -2491,7 +2491,7 @@ var SolanaPaymentSelector = ({
2491
2491
  onPaymentError: handlePaymentError
2492
2492
  }
2493
2493
  ) }),
2494
- /* @__PURE__ */ jsx(TabsContent, { value: "qr", className: "mt-4", children: /* @__PURE__ */ jsx(
2494
+ /* @__PURE__ */ jsx(TabsContent, { value: "qr", className: "mt-4", children: activeTab === "qr" && /* @__PURE__ */ jsx(
2495
2495
  QRCodePayment,
2496
2496
  {
2497
2497
  priceId,