mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-29 08:21:20 +00:00
Fix missing zap amount
This commit is contained in:
parent
805bc76e3a
commit
cbddc4ea6e
@ -15,7 +15,6 @@
|
||||
const zapper = deriveZapper(recipient)
|
||||
|
||||
$: zap = zapFromEvent(note, $zapper)
|
||||
$: amount = formatSats(zap.invoiceAmount / 1000)
|
||||
|
||||
onMount(() => {
|
||||
loadZapper(recipient)
|
||||
@ -25,7 +24,7 @@
|
||||
{#if zap}
|
||||
<div class="flex flex-col gap-2 overflow-hidden text-ellipsis">
|
||||
<div>
|
||||
<PersonLink pubkey={zap.request?.pubkey} /> zapped <PersonLink pubkey={recipient} /> {amount} sats!
|
||||
<PersonLink pubkey={zap.request?.pubkey} /> zapped <PersonLink pubkey={recipient} /> {formatSats(zap.invoiceAmount / 1000)} sats!
|
||||
</div>
|
||||
<NoteContentKind1 note={zap.request} {showEntire} />
|
||||
{#if url}
|
||||
|
Loading…
Reference in New Issue
Block a user