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
|
@ -392,7 +392,7 @@ const InviteCodes = observer(() => {
|
|||
<Text
|
||||
type="lg-medium"
|
||||
style={store.me.invitesAvailable > 0 ? pal.link : pal.textLight}>
|
||||
{store.me.invitesAvailable} invite{' '}
|
||||
{formatCount(store.me.invitesAvailable)} invite{' '}
|
||||
{pluralize(store.me.invitesAvailable, 'code')}
|
||||
</Text>
|
||||
</TouchableOpacity>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue