diff options
author | Hailey <me@haileyok.com> | 2024-04-13 16:55:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 16:55:49 -0700 |
commit | 7543f72b778804b5293bb04505da01e8cc2bace1 (patch) | |
tree | 6797318c1314188ea1895cd04d8c0c3b97a66bdc /src/view/com/notifications/FeedItem.tsx | |
parent | 41925bdc0774b59c869d5a9b5643963f7bc13199 (diff) | |
download | voidsky-7543f72b778804b5293bb04505da01e8cc2bace1.tar.zst |
Remove extra wrapper on notification user links (#3548)
Diffstat (limited to 'src/view/com/notifications/FeedItem.tsx')
-rw-r--r-- | src/view/com/notifications/FeedItem.tsx | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index e1dae6659..3c9c64061 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -420,31 +420,30 @@ function ExpandedAuthorsList({ to={makeProfileLink({ did: author.did, handle: author.handle, - })}> - <View style={styles.expandedAuthor}> - <View style={styles.expandedAuthorAvi}> - <ProfileHoverCard did={author.did}> - <UserAvatar - size={35} - avatar={author.avatar} - moderation={author.moderation.ui('avatar')} - type={author.associated?.labeler ? 'labeler' : 'user'} - /> - </ProfileHoverCard> - </View> - <View style={s.flex1}> - <Text - type="lg-bold" - numberOfLines={1} - style={pal.text} - lineHeight={1.2}> - {sanitizeDisplayName(author.displayName || author.handle)} - - <Text style={[pal.textLight]} lineHeight={1.2}> - {sanitizeHandle(author.handle)} - </Text> + })} + style={styles.expandedAuthor}> + <View style={styles.expandedAuthorAvi}> + <ProfileHoverCard did={author.did}> + <UserAvatar + size={35} + avatar={author.avatar} + moderation={author.moderation.ui('avatar')} + type={author.associated?.labeler ? 'labeler' : 'user'} + /> + </ProfileHoverCard> + </View> + <View style={s.flex1}> + <Text + type="lg-bold" + numberOfLines={1} + style={pal.text} + lineHeight={1.2}> + {sanitizeDisplayName(author.displayName || author.handle)} + + <Text style={[pal.textLight]} lineHeight={1.2}> + {sanitizeHandle(author.handle)} </Text> - </View> + </Text> </View> </NewLink> ))} |