about summary refs log tree commit diff
path: root/src/view/shell/Drawer.tsx
diff options
context:
space:
mode:
authorOllie H <renahlee@outlook.com>2023-05-08 14:02:19 -0700
committerGitHub <noreply@github.com>2023-05-08 16:02:19 -0500
commit84046f42d575d57109bf4806740569c689cab98f (patch)
tree83b51f4119a91490e28b5e313ab28c2182071efe /src/view/shell/Drawer.tsx
parent6124e5283628564b651463d7710f13096e9bd20c (diff)
downloadvoidsky-84046f42d575d57109bf4806740569c689cab98f.tar.zst
Format count and fix type warning (#600)
Diffstat (limited to 'src/view/shell/Drawer.tsx')
-rw-r--r--src/view/shell/Drawer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx
index 1b8983e83..bdd64807e 100644
--- a/src/view/shell/Drawer.tsx
+++ b/src/view/shell/Drawer.tsx
@@ -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>