diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-05-17 08:12:17 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-05-18 04:04:39 +0800 |
commit | e7fd501200f37581fa0b97854fc0914246d3e95c (patch) | |
tree | cb843f272c45d246db7ab83c3f4ae0408a1b9a61 /packages/website/ts/components/inputs | |
parent | ea0067d99976a572dcd4a4d988f4d33ca083f230 (diff) | |
download | dexon-sol-tools-e7fd501200f37581fa0b97854fc0914246d3e95c.tar dexon-sol-tools-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.gz dexon-sol-tools-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.bz2 dexon-sol-tools-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.lz dexon-sol-tools-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.xz dexon-sol-tools-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.zst dexon-sol-tools-e7fd501200f37581fa0b97854fc0914246d3e95c.zip |
Remove duplicate function call to validate
Diffstat (limited to 'packages/website/ts/components/inputs')
-rw-r--r-- | packages/website/ts/components/inputs/balance_bounded_input.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/inputs/balance_bounded_input.tsx b/packages/website/ts/components/inputs/balance_bounded_input.tsx index 72a246280..9a6ff64a7 100644 --- a/packages/website/ts/components/inputs/balance_bounded_input.tsx +++ b/packages/website/ts/components/inputs/balance_bounded_input.tsx @@ -160,7 +160,7 @@ export class BalanceBoundedInput extends React.Component<BalanceBoundedInputProp this.props.onErrorMsgChange(errorMsg); this.setState({ amountString: amount, - errMsg: this._validate(amount, balance), + errMsg: errorMsg, }, callback); } } |