onitsoft / nexchange-open-client-react

n.exchange is the planet's simplest and most transparent solution for cryptocurrency trading & liquidity for individuals and enterprises alike. it supports all major cryptocurrencies(BTC BCH BSV ETH LTC NANO XLM XMR XRP ZEC) and fiat currencies(USD GBP EUR JPY). Learn how to deploy this great open-source project here: https://www.youtube.com/watch?v=7ujmzb3HzCA
https://n.exchange
Other
142 stars 210 forks source link

Fix/receive amount change send amount #678

Open pragai opened 4 years ago

pragai commented 4 years ago

Status:WAITING FOR REVIEW

Background (user-story):

  1. User changes receive amount on order exchange

Implementation:

  1. Replacing deprecated UNSAFE_componentWillReceiveProps to componentDidUpdate
  2. Updating logic in class CoinInput

Unit tests included:

Integration tests:

  1. cypress/integration/change_deposit_when_changed_received.js