mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-03 07:42:03 +00:00
Update src/components/bitcoinConnect/SubscriptionPaymentButton.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
cb4e04ef73
commit
3583379468
@ -49,7 +49,7 @@ const SubscriptionPaymentButtons = ({
|
||||
intervalId = setInterval(async () => {
|
||||
try {
|
||||
const paid = await invoice.verifyPayment();
|
||||
if (paid && invoice.preimage) {
|
||||
if (paid) {
|
||||
clearInterval(intervalId);
|
||||
// handle success
|
||||
onSuccess();
|
||||
|
Loading…
x
Reference in New Issue
Block a user