Commit 7e11f56f authored by tom goriunov's avatar tom goriunov Committed by GitHub

Don't retry SolidityScan resources (#2110)

Fixes #2104
parent 240f9d9b
...@@ -25,6 +25,7 @@ const SolidityscanReport = ({ hash }: Props) => { ...@@ -25,6 +25,7 @@ const SolidityscanReport = ({ hash }: Props) => {
queryOptions: { queryOptions: {
enabled: Boolean(hash), enabled: Boolean(hash),
placeholderData: SOLIDITYSCAN_REPORT, placeholderData: SOLIDITYSCAN_REPORT,
retry: 0,
}, },
}); });
...@@ -51,7 +52,7 @@ const SolidityscanReport = ({ hash }: Props) => { ...@@ -51,7 +52,7 @@ const SolidityscanReport = ({ hash }: Props) => {
<PopoverContent w={{ base: '100vw', lg: '328px' }}> <PopoverContent w={{ base: '100vw', lg: '328px' }}>
<PopoverBody px="26px" py="20px" fontSize="sm"> <PopoverBody px="26px" py="20px" fontSize="sm">
<Box mb={ 5 } lineHeight="25px"> <Box mb={ 5 } lineHeight="25px">
Contract analyzed for 160+ vulnerability patterns by Contract analyzed for 240+ vulnerability patterns by
<Icon as={ solidityScanIcon } mr={ 1 } ml="6px" w="23px" h="20px" display="inline-block" verticalAlign="middle"/> <Icon as={ solidityScanIcon } mr={ 1 } ml="6px" w="23px" h="20px" display="inline-block" verticalAlign="middle"/>
<Text fontWeight={ 600 } display="inline-block">SolidityScan</Text> <Text fontWeight={ 600 } display="inline-block">SolidityScan</Text>
</Box> </Box>
......
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