@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.cjs CHANGED
@@ -2508,7 +2508,7 @@ var SolanaPaymentSelector = ({
2508
2508
  " Scan QR Code"
2509
2509
  ] })
2510
2510
  ] }),
2511
- /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { value: "wallet", className: "mt-4", children: /* @__PURE__ */ jsxRuntime.jsx(
2511
+ /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { value: "wallet", className: "mt-4", children: activeTab === "wallet" && /* @__PURE__ */ jsxRuntime.jsx(
2512
2512
  DirectPayment,
2513
2513
  {
2514
2514
  priceId,
@@ -2521,7 +2521,7 @@ var SolanaPaymentSelector = ({
2521
2521
  onPaymentError: handlePaymentError
2522
2522
  }
2523
2523
  ) }),
2524
- /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { value: "qr", className: "mt-4", children: /* @__PURE__ */ jsxRuntime.jsx(
2524
+ /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { value: "qr", className: "mt-4", children: activeTab === "qr" && /* @__PURE__ */ jsxRuntime.jsx(
2525
2525
  QRCodePayment,
2526
2526
  {
2527
2527
  priceId,