From f9104d8b8b8cdce28cf674fc025f2928d109bbf2 Mon Sep 17 00:00:00 2001 From: highperfocused Date: Thu, 27 Nov 2025 22:53:40 +0100 Subject: [PATCH] Fix notification label for 'zap' type to include amount and improve clarity --- src/components/notifications/NotificationCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/notifications/NotificationCard.tsx b/src/components/notifications/NotificationCard.tsx index d3409b9..ec465d1 100644 --- a/src/components/notifications/NotificationCard.tsx +++ b/src/components/notifications/NotificationCard.tsx @@ -42,7 +42,7 @@ export function NotificationCard({ notification }: NotificationCardProps) { label: 'commented on your picture', color: 'text-blue-500' }; - case 'zap': + case 'zap': { // Extract amount from zap const bolt11Tag = notification.tags.find(([name]) => name === 'bolt11')?.[1]; let amount = ''; @@ -59,6 +59,7 @@ export function NotificationCard({ notification }: NotificationCardProps) { label: `zapped your picture${amount}`, color: 'text-yellow-500' }; + } case 'mention': return { icon: ,