fix: resolve zap profile issue
This commit is contained in:
parent
c04b84a5b6
commit
9aa63fd11c
3 changed files with 9 additions and 13 deletions
|
|
@ -46,13 +46,7 @@ export default function ZapButton({ event }: { event: Event }) {
|
|||
throw new Error('You need to be logged in to zap')
|
||||
}
|
||||
setZapping(true)
|
||||
const zapResult = await lightning.zap(
|
||||
pubkey,
|
||||
event.pubkey,
|
||||
defaultZapSats,
|
||||
defaultZapComment,
|
||||
event
|
||||
)
|
||||
const zapResult = await lightning.zap(pubkey, event, defaultZapSats, defaultZapComment)
|
||||
// user canceled
|
||||
if (!zapResult) {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue