Fix Wallet Settings Modal (#3856)
* Fixes wallet settings modal * Fix linting
This commit is contained in:
committed by
Jaco Greeff
parent
14a9942d14
commit
670be41b62
@@ -17,7 +17,6 @@
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
|
||||
import { Form, TypedInput, Input, AddressSelect, InputAddress } from '~/ui';
|
||||
import { parseAbiType } from '~/util/abi';
|
||||
|
||||
import styles from '../createWallet.css';
|
||||
|
||||
@@ -105,7 +104,7 @@ export default class WalletDetails extends Component {
|
||||
value={ wallet.owners.slice() }
|
||||
onChange={ this.onOwnersChange }
|
||||
accounts={ accounts }
|
||||
param={ parseAbiType('address[]') }
|
||||
param='address[]'
|
||||
/>
|
||||
|
||||
<div className={ styles.splitInput }>
|
||||
@@ -115,7 +114,7 @@ export default class WalletDetails extends Component {
|
||||
value={ wallet.required }
|
||||
error={ errors.required }
|
||||
onChange={ this.onRequiredChange }
|
||||
param={ parseAbiType('uint') }
|
||||
param='uint'
|
||||
min={ 1 }
|
||||
max={ wallet.owners.length + 1 }
|
||||
/>
|
||||
@@ -126,7 +125,7 @@ export default class WalletDetails extends Component {
|
||||
value={ wallet.daylimit }
|
||||
error={ errors.daylimit }
|
||||
onChange={ this.onDaylimitChange }
|
||||
param={ parseAbiType('uint') }
|
||||
param='uint'
|
||||
isEth
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user