diff options
Diffstat (limited to 'src/view/com/notifications/NotificationFeedItem.tsx')
-rw-r--r-- | src/view/com/notifications/NotificationFeedItem.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/view/com/notifications/NotificationFeedItem.tsx b/src/view/com/notifications/NotificationFeedItem.tsx index 1de0b67b3..a30aba7d8 100644 --- a/src/view/com/notifications/NotificationFeedItem.tsx +++ b/src/view/com/notifications/NotificationFeedItem.tsx @@ -102,7 +102,11 @@ let NotificationFeedItem = ({ const urip = new AtUri(item.subjectUri) return `/profile/${urip.host}/post/${urip.rkey}` } - } else if (item.type === 'follow') { + } else if ( + item.type === 'follow' || + item.type === 'verified' || + item.type === 'unverified' + ) { return makeProfileLink(item.notification.author) } else if (item.type === 'reply') { const urip = new AtUri(item.notification.uri) @@ -390,7 +394,6 @@ let NotificationFeedItem = ({ <StarterPack width={30} gradient="sky" /> </View> ) - // @ts-ignore TODO } else if (item.type === 'verified') { a11yLabel = hasMultipleAuthors ? _( @@ -416,7 +419,6 @@ let NotificationFeedItem = ({ <Trans>{firstAuthorLink} verified you</Trans> ) icon = <VerifiedCheck size="xl" /> - // @ts-ignore TODO } else if (item.type === 'unverified') { a11yLabel = hasMultipleAuthors ? _( |