mirror of
https://github.com/aljazceru/hypergolic.git
synced 2025-12-19 22:44:20 +01:00
problem: zap dialogue doesn't close on zap
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
webln.sendPayment(invoice).then((response)=>{
|
webln.sendPayment(invoice).then((response)=>{
|
||||||
if (response && response.preimage) {
|
if (response && response.preimage) {
|
||||||
console.log(response.preimage)
|
console.log(response.preimage)
|
||||||
|
open = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
@@ -27,10 +28,10 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let open:boolean;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Dialog.Root>
|
<Dialog.Root bind:open={open}>
|
||||||
<Dialog.Trigger class={buttonVariants({ variant: 'default' })}>Buy Now</Dialog.Trigger>
|
<Dialog.Trigger class={buttonVariants({ variant: 'default' })}>Buy Now</Dialog.Trigger>
|
||||||
<Dialog.Content class="sm:max-w-[425px]">
|
<Dialog.Content class="sm:max-w-[425px]">
|
||||||
<Dialog.Header>
|
<Dialog.Header>
|
||||||
|
|||||||
Reference in New Issue
Block a user