diff --git a/src/components/NotificationList/index.tsx b/src/components/NotificationList/index.tsx index 8003568..05a9979 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 127816a..d3f4e4e 100644 --- a/src/components/ParentNotePreview/index.tsx +++ b/src/components/ParentNotePreview/index.tsx @@ -22,7 +22,7 @@ export default function ParentNotePreview({ onClick={onClick} >
{t('reply to')}
- +
{event.content}
) diff --git a/src/pages/secondary/NotePage/index.tsx b/src/pages/secondary/NotePage/index.tsx index f68c0c9..79e2e2c 100644 --- a/src/pages/secondary/NotePage/index.tsx +++ b/src/pages/secondary/NotePage/index.tsx @@ -52,7 +52,9 @@ export default function NotePage({ id, index }: { id?: string; index?: number }) return (
- + {rootEventId !== parentEventId && ( + + )}