mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 11:13:29 +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>
|
</Text>
|
||||||
{items !== undefined && (
|
{items !== undefined && (
|
||||||
<Text numberOfLines={1} style={tw`text-center text-xs text-ink-faint`}>
|
<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>
|
</Text>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|
Loading…
Reference in a new issue