Clean up billing a bit

This commit is contained in:
Jon Staab
2026-05-28 14:04:46 -07:00
parent 72b30489b9
commit 9f599d66be
4 changed files with 58 additions and 150 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export default function PaymentDialog(props: PaymentDialogProps) {
const planById = new Map(plans().map((p) => [p.id, p]))
return (relays() ?? [])
.map((relay) => ({ relay, plan: planById.get(relay.plan) }))
.filter((entry) => entry.plan?.amount > 0)
.filter((entry) => Boolean(entry.plan?.amount))
})
async function loadBolt11() {