Skip to content

Commit

Permalink
Remove some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Jul 20, 2023
1 parent 6052d8f commit 84baf2c
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/app/components/ContractVerificationIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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 <ContractVerificationIcon account={accountQuery.data?.data} noLink={noLink} />
}

0 comments on commit 84baf2c

Please sign in to comment.