add NC badge to items
it's cute!
This commit is contained in:
parent
c3d8ead8f8
commit
d2aab1da9e
1 changed files with 2 additions and 6 deletions
|
@ -57,14 +57,10 @@ function Item({ item, itemNameId, isWorn, isInOutfit, dispatchToOutfit }) {
|
|||
flexDirection="row"
|
||||
alignItems="center"
|
||||
>
|
||||
<ItemName id={itemNameId} isWorn={isWorn}>
|
||||
<ItemName id={itemNameId} isWorn={isWorn} marginRight="2">
|
||||
{item.name}
|
||||
</ItemName>
|
||||
{item.isNc && (
|
||||
<Badge colorScheme="cyan" marginLeft="2">
|
||||
NC
|
||||
</Badge>
|
||||
)}
|
||||
{item.isNc && <Badge colorScheme="cyan">NC</Badge>}
|
||||
</Box>
|
||||
<Box flex="0 0 auto">
|
||||
<SupportOnly>
|
||||
|
|
Loading…
Reference in a new issue