Commit b3cc05eb authored by Max Alekseenko's avatar Max Alekseenko

fix warnings

parent f97c3771
...@@ -62,7 +62,7 @@ const ContractListModal = ({ onClose, type, contracts }: Props) => { ...@@ -62,7 +62,7 @@ const ContractListModal = ({ onClose, type, contracts }: Props) => {
columnGap={ type === ContractListTypes.ANALYZED ? 4 : 0 } columnGap={ type === ContractListTypes.ANALYZED ? 4 : 0 }
> >
{ displayedContracts.map((contract) => ( { displayedContracts.map((contract) => (
<> <React.Fragment key={ contract.address }>
{ type === ContractListTypes.ANALYZED && ( { type === ContractListTypes.ANALYZED && (
<Box gridColumn={ 1 }> <Box gridColumn={ 1 }>
<ContractSecurityReport securityReport={ contract.solidityScanReport }/> <ContractSecurityReport securityReport={ contract.solidityScanReport }/>
...@@ -79,7 +79,7 @@ const ContractListModal = ({ onClose, type, contracts }: Props) => { ...@@ -79,7 +79,7 @@ const ContractListModal = ({ onClose, type, contracts }: Props) => {
gridColumn={ 2 } gridColumn={ 2 }
height="32px" height="32px"
/> />
</> </React.Fragment>
)) } )) }
</ModalBody> </ModalBody>
</ModalContent> </ModalContent>
......
...@@ -56,11 +56,11 @@ const ListItem = ({ app, onInfoClick, isFavorite, onFavoriteClick, isLoading, on ...@@ -56,11 +56,11 @@ const ListItem = ({ app, onInfoClick, isFavorite, onFavoriteClick, isLoading, on
rowGap={ 3 } rowGap={ 3 }
py={ 3 } py={ 3 }
sx={{ sx={{
':first-child': { ':first-of-type': {
borderTop: 'none', borderTop: 'none',
paddingTop: 0, paddingTop: 0,
}, },
':last-child': { ':last-of-type': {
borderBottom: 'none', borderBottom: 'none',
paddingBottom: 0, 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