Format count and fix type warning (#600)
This commit is contained in:
parent
6124e52836
commit
84046f42d5
6 changed files with 27 additions and 18 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue