about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-04-13 16:55:49 -0700
committerGitHub <noreply@github.com>2024-04-13 16:55:49 -0700
commit7543f72b778804b5293bb04505da01e8cc2bace1 (patch)
tree6797318c1314188ea1895cd04d8c0c3b97a66bdc /src
parent41925bdc0774b59c869d5a9b5643963f7bc13199 (diff)
downloadvoidsky-7543f72b778804b5293bb04505da01e8cc2bace1.tar.zst
Remove extra wrapper on notification user links (#3548)
Diffstat (limited to 'src')
-rw-r--r--src/view/com/notifications/FeedItem.tsx47
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)}
-                &nbsp;
-                <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)}
+              &nbsp;
+              <Text style={[pal.textLight]} lineHeight={1.2}>
+                {sanitizeHandle(author.handle)}
               </Text>
-            </View>
+            </Text>
           </View>
         </NewLink>
       ))}