Format count and fix type warning (#600)

This commit is contained in:
Ollie H
2023-05-08 14:02:19 -07:00
committed by GitHub
parent 6124e52836
commit 84046f42d5
6 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -401,7 +401,7 @@ const ProfileHeaderLoaded = observer(
</Text>
</TouchableOpacity>
<Text type="md" style={[s.bold, pal.text]}>
{view.postsCount}{' '}
{formatCount(view.postsCount)}{' '}
<Text type="md" style={[pal.textLight]}>
{pluralize(view.postsCount, 'post')}
</Text>