diff --git a/packages/ui/src/components/CallInfo.tsx b/packages/ui/src/components/CallInfo.tsx index 8d139172..92cc7eef 100644 --- a/packages/ui/src/components/CallInfo.tsx +++ b/packages/ui/src/components/CallInfo.tsx @@ -13,6 +13,7 @@ import { usePjsLinks } from '../hooks/usePjsLinks' import { Alert } from '@mui/material' import { ApiPromise } from '@polkadot/api' import { isTypeBalance } from '../utils/isTypeBalance' +import { isTypeAccount } from '../utils/isTypeAccount' interface Props { aggregatedData: Omit @@ -100,9 +101,6 @@ const createUlTree = ({ name, args, decimals, unit, api, typeName }: CreateTreeP if (!args) return if (!name) return - const isBalancesTransferAlike = ['balances.transfer', 'balances.transferKeepAlive'].includes(name) - const isProxyCreationDeletion = ['proxy.addProxy', 'proxy.removeProxy'].includes(name) - return (