message: change add offer form
diff: @@ -49,7 +49,7 @@ export default class AddOffer extends Component {
  balance: null,
  isSellFieldInteger: false,
  isBuyFieldInteger: false,
  - manualRate: false
  + manualRate: false,
  }
  }
  @@ -79,14 +79,13 @@ export default class AddOffer extends Component {
  handleExchangeRateChange = (value) => {
  let { buyAmount, sellAmount } = this.state
  - if (value === 0 || !value) { // eslint-disable-line
  - buyAmount = new BigNumber(0)
  - sellAmount = new BigNumber(0)
  - } else {
  - buyAmount = new BigNumber(String(sellAmount) || 0).multipliedBy(value)
  - sellAmount = new BigNumber(String(buyAmount) || 0).dividedBy(value)
  + if (value === 0 || value.lastIndexOf(0, '.') || !value) {
  + return
  }
  + buyAmount = new BigNumber(String(sellAmount)).multipliedBy(value)
  + sellAmount = new BigNumber(String(buyAmount)).dividedBy(value)
  +
  this.setState({
  buyAmount,
  sellAmount,
  @@ -202,7 +201,7 @@ export default class AddOffer extends Component {
  let newRate = new BigNumber(String(buyAmount)).dividedBy(new BigNumber(String(value)))
  this.setState({
  sellAmount: new BigNumber(String(value)),
  - exchangeRate: isNaN(newRate) ? '' : newRate
  + exchangeRate: isNaN(newRate) ? '' : newRate,
  })
  } else {
  this.setState({
  @@ -239,7 +238,7 @@ export default class AddOffer extends Component {
  if (!value) {
  this.handleSellCurrencySelect({ value:this.state.sellCurrency })
  }
  - this.setState({manualRate: value});
  + this.setState({ manualRate: value })
  }
  render() {
  @@ -267,7 +266,7 @@ export default class AddOffer extends Component {
  sellCurrency={sellCurrency}
  />
  <div>
  - <Toggle checked={manualRate} onChange={this.handleManualRate}></Toggle> Custom exchange rate
  + <Toggle checked={manualRate} onChange={this.handleManualRate} /> Custom exchange rate
  </div>
  <Select
  changeBalance={this.changeBalance}
  