Skip to content

Commit

Permalink
bugfix: amount space crash (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino authored Feb 19, 2020
1 parent 8fb1a6b commit 7c190af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/UI/EthInput/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ class EthInput extends PureComponent {
*/
onChange = value => {
const { onChange } = this.props;
value = value && value.replace(/\s+/g, '');
const { processedValue } = this.processValue(value && value.replace(',', '.'));
onChange && onChange(processedValue, value);
this.setState({ readableValue: value });
Expand Down

0 comments on commit 7c190af

Please sign in to comment.