Cleanups (#3189)
This commit is contained in:
parent
c10885bf13
commit
045f744aba
@ -223,34 +223,6 @@ function IdentityMain ({ address, className = '', onClose }: Props): React.React
|
||||
value={hasRiot ? valRiot : '<none>'}
|
||||
/>
|
||||
</WrapToggle>
|
||||
{/* <WrapToggle
|
||||
onChange={setHasImg}
|
||||
value={hasImg}
|
||||
>
|
||||
<Input
|
||||
isDisabled={!hasImg}
|
||||
isError={hasImg && errImg}
|
||||
label={t<string>('sha2 image hash')}
|
||||
onChange={_onChangeImg}
|
||||
placeholder={t<string>('0x...')}
|
||||
maxLength={66}
|
||||
value={hasImg ? valImg : '<none>'}
|
||||
/>
|
||||
</WrapToggle>
|
||||
<WrapToggle
|
||||
onChange={setHasPgp}
|
||||
value={hasPgp}
|
||||
>
|
||||
<Input
|
||||
isDisabled={!hasPgp}
|
||||
isError={hasPgp && errPgp}
|
||||
label={t<string>('pgp hash')}
|
||||
onChange={_onChangePgp}
|
||||
placeholder={t<string>('0x...')}
|
||||
maxLength={42}
|
||||
value={hasPgp ? valPgp : '<none>'}
|
||||
/>
|
||||
</WrapToggle> */}
|
||||
</Modal.Content>
|
||||
<Modal.Actions onCancel={onClose}>
|
||||
<TxButton
|
||||
|
||||
@ -95,7 +95,6 @@ function Referendum ({ className = '', value: { allAye, allNay, image, imageHash
|
||||
<td className='number together ui--media-1400'>
|
||||
{percentages && (
|
||||
<>
|
||||
{/* <FormatBalance value={votedTotal} /> */}
|
||||
<div>{percentages.turnout}</div>
|
||||
{percentages.aye && (
|
||||
<div>{t<string>('{{percentage}} aye', { replace: { percentage: percentages.aye } })}</div>
|
||||
|
||||
16
types.json
16
types.json
@ -1,16 +0,0 @@
|
||||
{
|
||||
"TransactionInput": {
|
||||
"parent_output": "Hash",
|
||||
"signature": "Signature"
|
||||
},
|
||||
"TransactionOutput": {
|
||||
"value": "u128",
|
||||
"pubkey": "Hash",
|
||||
"sale": "u32"
|
||||
},
|
||||
"Transaction": {
|
||||
"inputs": "Vec<TransactionInput>",
|
||||
"outputs": "Vec<TransactionOutput>"
|
||||
},
|
||||
"blah": "u32"
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user