fix: check mark is shown before zap is done

This commit is contained in:
Shusui MOYATANI
2024-01-14 23:24:45 +09:00
parent 04ba912cee
commit 15add2eeee

View File

@@ -140,7 +140,7 @@ const InvoiceDisplay: Component<{ invoice: string; event: NostrEvent; nostrPubke
return ( return (
<Show <Show
when={zapped()} when={!zapped()}
fallback={ fallback={
<div class="flex flex-col items-center gap-4 py-8"> <div class="flex flex-col items-center gap-4 py-8">
<span class="inline-block h-28 w-28 rounded-full border-4 border-primary p-4 text-primary"> <span class="inline-block h-28 w-28 rounded-full border-4 border-primary p-4 text-primary">