Remove extra wrapper on notification user links (#3548)
parent
41925bdc07
commit
7543f72b77
|
@ -420,31 +420,30 @@ function ExpandedAuthorsList({
|
||||||
to={makeProfileLink({
|
to={makeProfileLink({
|
||||||
did: author.did,
|
did: author.did,
|
||||||
handle: author.handle,
|
handle: author.handle,
|
||||||
})}>
|
})}
|
||||||
<View style={styles.expandedAuthor}>
|
style={styles.expandedAuthor}>
|
||||||
<View style={styles.expandedAuthorAvi}>
|
<View style={styles.expandedAuthorAvi}>
|
||||||
<ProfileHoverCard did={author.did}>
|
<ProfileHoverCard did={author.did}>
|
||||||
<UserAvatar
|
<UserAvatar
|
||||||
size={35}
|
size={35}
|
||||||
avatar={author.avatar}
|
avatar={author.avatar}
|
||||||
moderation={author.moderation.ui('avatar')}
|
moderation={author.moderation.ui('avatar')}
|
||||||
type={author.associated?.labeler ? 'labeler' : 'user'}
|
type={author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
/>
|
/>
|
||||||
</ProfileHoverCard>
|
</ProfileHoverCard>
|
||||||
</View>
|
</View>
|
||||||
<View style={s.flex1}>
|
<View style={s.flex1}>
|
||||||
<Text
|
<Text
|
||||||
type="lg-bold"
|
type="lg-bold"
|
||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
style={pal.text}
|
style={pal.text}
|
||||||
lineHeight={1.2}>
|
lineHeight={1.2}>
|
||||||
{sanitizeDisplayName(author.displayName || author.handle)}
|
{sanitizeDisplayName(author.displayName || author.handle)}
|
||||||
|
|
||||||
<Text style={[pal.textLight]} lineHeight={1.2}>
|
<Text style={[pal.textLight]} lineHeight={1.2}>
|
||||||
{sanitizeHandle(author.handle)}
|
{sanitizeHandle(author.handle)}
|
||||||
</Text>
|
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
</NewLink>
|
</NewLink>
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Reference in New Issue