diff --git a/packages/react-params/src/Param/findComponent.ts b/packages/react-params/src/Param/findComponent.ts index 8f0d4e3904..06f7facee1 100644 --- a/packages/react-params/src/Param/findComponent.ts +++ b/packages/react-params/src/Param/findComponent.ts @@ -44,9 +44,9 @@ interface TypeToComponent { const SPECIAL_TYPES = ['AccountId', 'AccountIndex', 'Address', 'Balance']; const componentDef: TypeToComponent[] = [ - { c: Account, t: ['AccountId', 'AccountIdOf', 'Address', 'AuthorityId', 'LookupSource', 'LookupTarget', 'SessionKey', 'ValidatorId'] }, - { c: Amount, t: ['AccountIndex', 'AssetId', 'BlockNumber', 'Gas', 'Index', 'Nonce', 'ParaId', 'ProposalIndex', 'PropIndex', 'ReferendumIndex', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128', 'u256', 'VoteIndex'] }, - { c: Balance, t: ['Amount', 'AssetOf', 'Balance', 'BalanceOf'] }, + { c: Account, t: ['AccountId', 'Address', 'LookupSource'] }, + { c: Amount, t: ['AccountIndex', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128', 'u256'] }, + { c: Balance, t: ['Amount', 'Balance', 'BalanceOf'] }, { c: Bool, t: ['bool'] }, { c: Bytes, t: ['Bytes'] }, { c: Call, t: ['Call', 'Proposal'] }, @@ -54,9 +54,9 @@ const componentDef: TypeToComponent[] = [ { c: DispatchError, t: ['DispatchError'] }, { c: Raw, t: ['Raw', 'Keys'] }, { c: Enum, t: ['Enum'] }, - { c: Hash256, t: ['BlockHash', 'CodeHash', 'Hash', 'H256', 'SeedOf'] }, + { c: Hash256, t: ['Hash', 'H256'] }, { c: Hash160, t: ['H160'] }, - { c: Hash512, t: ['H512', 'Signature'] }, + { c: Hash512, t: ['H512'] }, { c: KeyValue, t: ['KeyValue'] }, { c: KeyValueArray, t: ['Vec'] }, { c: Moment, t: ['Moment', 'MomentOf'] },