fix cache update option name on qr
This commit is contained in:
		
							parent
							
								
									404cf188b3
								
							
						
					
					
						commit
						9caeca00df
					
				@ -63,7 +63,7 @@ export function usePaidMutation (mutation,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    const paymentAttempted = walletError instanceof WalletPaymentError
 | 
					    const paymentAttempted = walletError instanceof WalletPaymentError
 | 
				
			||||||
    if (paymentAttempted) {
 | 
					    if (paymentAttempted) {
 | 
				
			||||||
      walletInvoice = await invoiceHelper.retry(walletInvoice, { updateOnFallback })
 | 
					      walletInvoice = await invoiceHelper.retry(walletInvoice, { update: updateOnFallback })
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return await waitForQrPayment(walletInvoice, walletError, { persistOnNavigate, waitFor })
 | 
					    return await waitForQrPayment(walletInvoice, walletError, { persistOnNavigate, waitFor })
 | 
				
			||||||
  }, [waitForWalletPayment, waitForQrPayment, invoiceHelper])
 | 
					  }, [waitForWalletPayment, waitForQrPayment, invoiceHelper])
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user