diff --git a/src/components/NotificationList/index.tsx b/src/components/NotificationList/index.tsx index 8003568f..05a9979a 100644 --- a/src/components/NotificationList/index.tsx +++ b/src/components/NotificationList/index.tsx @@ -108,7 +108,10 @@ export default function NotificationList() { } if (notifications.length > 0) { - setNotifications((oldNotifications) => [...oldNotifications, ...notifications]) + setNotifications((oldNotifications) => [ + ...oldNotifications, + ...notifications.filter((event) => event.pubkey !== pubkey) + ]) } setUntil(notifications[notifications.length - 1].created_at - 1) diff --git a/src/components/ParentNotePreview/index.tsx b/src/components/ParentNotePreview/index.tsx index 127816ae..d3f4e4e4 100644 --- a/src/components/ParentNotePreview/index.tsx +++ b/src/components/ParentNotePreview/index.tsx @@ -22,7 +22,7 @@ export default function ParentNotePreview({ onClick={onClick} >