Fixed Suggestions from Code Review

This commit is contained in:
Adrian Sorge 2020-10-05 17:49:21 +01:00
parent 70141f3d77
commit 7b13a42daa

View File

@ -36,10 +36,6 @@ const Badge = styled(PFBadge)`
const ListGroup = styled.span`
margin-left: 24px;
&:first-of-type {
margin-left: 0;
}
`;
function InventoryListItem({
@ -110,7 +106,6 @@ function InventoryListItem({
</Link>
)}
</DataListCell>,
<DataListCell key="kind">
{inventory.kind === 'smart'
? i18n._(t`Smart Inventory`)
@ -136,7 +131,6 @@ function InventoryListItem({
</Badge>
</ListGroup>
</DataListCell>,
inventory.pending_deletion && (
<DataListCell alignRight isFilled={false} key="pending-delete">
<Label color="red">{i18n._(t`Pending delete`)}</Label>