EmerisHQ / demeris

Emeris web app
https://app.emeris.com/
Apache License 2.0
12 stars 2 forks source link

When clicking the swap icon in the 'Enter an amount' screen is always showing 0 amount in the position below. #1749

Closed Dawntraoz closed 2 years ago

Dawntraoz commented 2 years ago

Describe the bug

When I try to swap the amount vs price in the Enter an amount form while sending or moving assets, the amount is converted to 0.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Send page.
  2. Choose Send to address or Move assets.
  3. Add an amount.
  4. Click on the swap icon in the left.
  5. See the amount being 0 (but if you swap again and the amount is in the first position, is working fine).

Expected behavior

In both places, up or down, the amount should show the specified quantity.

Recording

https://user-images.githubusercontent.com/36744484/166692830-06ab4f67-24f2-44f6-bb52-851a05b06e40.mov