remove link from saved count (#9010)
(cherry picked from commit d8413b09f8)
This commit is contained in:
committed by
Eric Bailey
parent
5cd4a3362d
commit
6a6c13d147
@@ -481,20 +481,14 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({
|
|||||||
</Link>
|
</Link>
|
||||||
) : null}
|
) : null}
|
||||||
{post.bookmarkCount != null && post.bookmarkCount !== 0 ? (
|
{post.bookmarkCount != null && post.bookmarkCount !== 0 ? (
|
||||||
<Link to={likesHref} label={_(msg`Saves of this post`)}>
|
|
||||||
<Text
|
<Text
|
||||||
testID="bookmarkCount-expanded"
|
testID="bookmarkCount-expanded"
|
||||||
style={[a.text_md, t.atoms.text_contrast_medium]}>
|
style={[a.text_md, t.atoms.text_contrast_medium]}>
|
||||||
<Text style={[a.text_md, a.font_bold, t.atoms.text]}>
|
<Text style={[a.text_md, a.font_bold, t.atoms.text]}>
|
||||||
{formatPostStatCount(post.bookmarkCount)}
|
{formatPostStatCount(post.bookmarkCount)}
|
||||||
</Text>{' '}
|
</Text>{' '}
|
||||||
<Plural
|
<Plural value={post.bookmarkCount} one="save" other="saves" />
|
||||||
value={post.bookmarkCount}
|
|
||||||
one="save"
|
|
||||||
other="saves"
|
|
||||||
/>
|
|
||||||
</Text>
|
</Text>
|
||||||
</Link>
|
|
||||||
) : null}
|
) : null}
|
||||||
</View>
|
</View>
|
||||||
) : null}
|
) : null}
|
||||||
|
|||||||
Reference in New Issue
Block a user