Clean up billing a bit
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user