diff --git a/src/components/admin-lte/send-receive/send.js b/src/components/admin-lte/send-receive/send.js index 377026d..3e2d5a7 100644 --- a/src/components/admin-lte/send-receive/send.js +++ b/src/components/admin-lte/send-receive/send.js @@ -68,7 +68,7 @@ class Send extends React.Component { 0) { + if (_this.state.amountSat > 0) { _this.setState({ amountSat: (_this.state.amountSat / (_this.props.currentRate / 100)).toFixed(8) }) @@ -139,7 +139,7 @@ class Send extends React.Component { _this.setState({ sendCurrency: 'USD' }) - if(_this.state.amountSat > 0) { + if (_this.state.amountSat > 0) { _this.setState({ amountSat: (_this.state.amountSat * (_this.props.currentRate / 100)).toFixed(2) })