Refer to upvotes as 'likes' in the UI (will change in the protocol soon)

This commit is contained in:
Paul Frazee 2023-01-17 12:35:47 -06:00
parent ee8d311795
commit 798622b307
7 changed files with 69 additions and 21 deletions

View file

@ -47,7 +47,7 @@ export const PostThreadItem = observer(function PostThreadItem({
const urip = new AtUri(item.post.uri)
return `/profile/${item.post.author.handle}/post/${urip.rkey}/upvoted-by`
}, [item.post.uri, item.post.author.handle])
const upvotesTitle = 'Upvotes on this post'
const upvotesTitle = 'Likes on this post'
const repostsHref = useMemo(() => {
const urip = new AtUri(item.post.uri)
return `/profile/${item.post.author.handle}/post/${urip.rkey}/reposted-by`
@ -209,7 +209,7 @@ export const PostThreadItem = observer(function PostThreadItem({
<Text type="h5" style={pal.text}>
{item.post.upvoteCount}
</Text>{' '}
{pluralize(item.post.upvoteCount, 'upvote')}
{pluralize(item.post.upvoteCount, 'like')}
</Text>
</Link>
) : (