diff --git a/src/components/PayNow.svelte b/src/components/PayNow.svelte index 8d01f1a..7a25231 100644 --- a/src/components/PayNow.svelte +++ b/src/components/PayNow.svelte @@ -20,6 +20,7 @@ webln.sendPayment(invoice).then((response)=>{ if (response && response.preimage) { console.log(response.preimage) + open = false; } }) }); @@ -27,10 +28,10 @@ }) } - +let open:boolean; - + Buy Now