Commit b3cc05eb authored by Max Alekseenko's avatar Max Alekseenko

fix warnings

parent f97c3771
......@@ -62,7 +62,7 @@ const ContractListModal = ({ onClose, type, contracts }: Props) => {
columnGap={ type === ContractListTypes.ANALYZED ? 4 : 0 }
>
{ displayedContracts.map((contract) => (
<>
<React.Fragment key={ contract.address }>
{ type === ContractListTypes.ANALYZED && (
<Box gridColumn={ 1 }>
<ContractSecurityReport securityReport={ contract.solidityScanReport }/>
......@@ -79,7 +79,7 @@ const ContractListModal = ({ onClose, type, contracts }: Props) => {
gridColumn={ 2 }
height="32px"
/>
</>
</React.Fragment>
)) }
</ModalBody>
</ModalContent>
......
......@@ -56,11 +56,11 @@ const ListItem = ({ app, onInfoClick, isFavorite, onFavoriteClick, isLoading, on
rowGap={ 3 }
py={ 3 }
sx={{
':first-child': {
':first-of-type': {
borderTop: 'none',
paddingTop: 0,
},
':last-child': {
':last-of-type': {
borderBottom: 'none',
paddingBottom: 0,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment