+ {isNew && (
+
+ )}
}
@@ -204,7 +215,7 @@ function RepostNotification({ event }: { event: NostrEvent }) {
// Zap Notification: "⚡ {name} zapped you"
// Shows the original post being zapped
// ──────────────────────────────────────
-function ZapNotification({ event }: { event: NostrEvent }) {
+function ZapNotification({ event, isNew }: { event: NostrEvent; isNew: boolean }) {
const referencedEventId = getReferencedEventId(event);
const { data: referencedEvent } = useEvent(referencedEventId);
@@ -246,7 +257,10 @@ function ZapNotification({ event }: { event: NostrEvent }) {
const amountLabel = zapAmount > 0 ? ` ${formatSats(zapAmount)} sats` : '';
return (
-
+
+ {isNew && (
+
+ )}
}
@@ -263,9 +277,12 @@ function ZapNotification({ event }: { event: NostrEvent }) {
// Mention Notification: "@ {name} mentioned you"
// Shows the full mention post with action buttons
// ──────────────────────────────────────
-function MentionNotification({ event }: { event: NostrEvent }) {
+function MentionNotification({ event, isNew }: { event: NostrEvent; isNew: boolean }) {
return (
-