Add WebLN types, only show zap button when WebLN is available
This commit is contained in:
@ -57,9 +57,7 @@ function useSignerStream() {
|
||||
return;
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
await window.webln?.enable();
|
||||
// @ts-ignore
|
||||
await window.webln?.sendPayment(reqMsg.data.params.invoice);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user