diff --git a/src/view/com/algos/AlgoItem.tsx b/src/view/com/algos/AlgoItem.tsx index ffb8791a..6fbbd0df 100644 --- a/src/view/com/algos/AlgoItem.tsx +++ b/src/view/com/algos/AlgoItem.tsx @@ -17,6 +17,7 @@ import {useFocusEffect, useNavigation} from '@react-navigation/native' import {NavigationProp} from 'lib/routes/types' import {useStores} from 'state/index' import {HeartIconSolid} from 'lib/icons' +import {pluralize} from 'lib/strings/helpers' const AlgoItem = observer( ({ @@ -80,8 +81,11 @@ const AlgoItem = observer( - {item.data.likeCount && item.data.likeCount > 1 - ? `Liked by ${item.data.likeCount} others` + {item.data.likeCount && item.data.likeCount > 0 + ? `Liked by ${item.data.likeCount} ${pluralize( + item.data.likeCount, + 'other', + )}` : 'Be the first to like this'}