From 8e8087be8dcd6cd10163efb3ad9c2975aef312d0 Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto Date: Wed, 27 Sep 2023 09:16:03 -0400 Subject: [PATCH] fix singular/plural for invoice deposit notification --- components/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/notifications.js b/components/notifications.js index cf3bef6b4..33b0014db 100644 --- a/components/notifications.js +++ b/components/notifications.js @@ -239,7 +239,7 @@ function NostrZap ({ n }) { function InvoicePaid ({ n }) { return (
- {numWithUnits(n.earnedSats, { abbreviate: false })} were deposited in your account + {numWithUnits(n.earnedSats, { abbreviate: false, unitSingular: 'sat was', unitPlural: 'sats were' })} deposited in your account {timeSince(new Date(n.sortTime))} {n.invoice.comment && {n.invoice.comment}}