mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-06-30 12:33:31 +00:00
Update CategoryItem.tsx
This commit is contained in:
parent
f7b0e3bd06
commit
94476f89be
|
@ -50,7 +50,7 @@ const CategoryItem = ({ name, icon, items, style, kind }: CategoryItemProps) =>
|
|||
</Text>
|
||||
{items !== undefined && (
|
||||
<Text numberOfLines={1} style={tw`text-center text-xs text-ink-faint`}>
|
||||
{formatNumber(items)} Item{(items > 1 || items === 0) && 's'}
|
||||
{Number(items)} Item{(items > 1 || items === 0) && 's'}
|
||||
</Text>
|
||||
)}
|
||||
</View>
|
||||
|
|
Loading…
Reference in a new issue