aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-05-17 08:12:17 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-05-18 04:04:39 +0800
commite7fd501200f37581fa0b97854fc0914246d3e95c (patch)
treecb843f272c45d246db7ab83c3f4ae0408a1b9a61 /packages
parentea0067d99976a572dcd4a4d988f4d33ca083f230 (diff)
downloaddexon-0x-contracts-e7fd501200f37581fa0b97854fc0914246d3e95c.tar
dexon-0x-contracts-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.gz
dexon-0x-contracts-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.bz2
dexon-0x-contracts-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.lz
dexon-0x-contracts-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.xz
dexon-0x-contracts-e7fd501200f37581fa0b97854fc0914246d3e95c.tar.zst
dexon-0x-contracts-e7fd501200f37581fa0b97854fc0914246d3e95c.zip
Remove duplicate function call to validate
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/components/inputs/balance_bounded_input.tsx2
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);
}
}