From 84baf2ca679988eb1435155d8e5a5d618de263dc Mon Sep 17 00:00:00 2001 From: Kristof Csillag Date: Thu, 20 Jul 2023 14:22:17 +0200 Subject: [PATCH] Remove some dead code --- .../ContractVerificationIcon/index.tsx | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/app/components/ContractVerificationIcon/index.tsx b/src/app/components/ContractVerificationIcon/index.tsx index 8d006b5776..b346ea9c8b 100644 --- a/src/app/components/ContractVerificationIcon/index.tsx +++ b/src/app/components/ContractVerificationIcon/index.tsx @@ -8,9 +8,7 @@ import { COLORS } from '../../../styles/theme/colors' import Link from '@mui/material/Link' import Typography from '@mui/material/Typography' import Skeleton from '@mui/material/Skeleton' -import { Runtime, RuntimeAccount } from '../../../oasis-nexus/api' -import { SearchScope } from '../../../types/searchScope' -import { useGetRuntimeAccountsAddress } from '../../../oasis-nexus/api' +import { RuntimeAccount } from '../../../oasis-nexus/api' type VerificationStatus = 'verified' | 'unverified' @@ -116,17 +114,3 @@ export const VerificationIcon: FC<{ address_eth: string; verified: boolean; noLi ) } - -export const DelayedContractVerificationIcon: FC<{ - scope: SearchScope - contractOasisAddress: string - noLink?: boolean | undefined -}> = ({ scope, contractOasisAddress, noLink }) => { - const accountQuery = useGetRuntimeAccountsAddress( - scope.network, - scope.layer as Runtime, - contractOasisAddress, - ) - - return -}