From 65fa3cf966e09c6abe7b24131052725efd1db2d7 Mon Sep 17 00:00:00 2001 From: SatsAllDay <128755788+SatsAllDay@users.noreply.github.com> Date: Mon, 2 Oct 2023 20:19:20 -0400 Subject: [PATCH] fix singular/plural for invoice deposit notification (#527) --- 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}}