From 373dfa87147dc93c992dfd0c04d3815e6dd632f2 Mon Sep 17 00:00:00 2001 From: gsovereignty Date: Fri, 12 Jul 2024 19:00:45 +0800 Subject: [PATCH] problem: zap dialogue doesn't close on zap --- src/components/PayNow.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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