add NC badge to items

it's cute!
This commit is contained in:
Emi Matchu 2020-08-31 23:28:35 -07:00
parent c3d8ead8f8
commit d2aab1da9e

View file

@ -57,14 +57,10 @@ function Item({ item, itemNameId, isWorn, isInOutfit, dispatchToOutfit }) {
flexDirection="row" flexDirection="row"
alignItems="center" alignItems="center"
> >
<ItemName id={itemNameId} isWorn={isWorn}> <ItemName id={itemNameId} isWorn={isWorn} marginRight="2">
{item.name} {item.name}
</ItemName> </ItemName>
{item.isNc && ( {item.isNc && <Badge colorScheme="cyan">NC</Badge>}
<Badge colorScheme="cyan" marginLeft="2">
NC
</Badge>
)}
</Box> </Box>
<Box flex="0 0 auto"> <Box flex="0 0 auto">
<SupportOnly> <SupportOnly>