EmerisHQ / demeris

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

[Dex Agg] Missing error handling for minimum amount #1677

Closed gheng7 closed 2 years ago

gheng7 commented 2 years ago

Describe the bug When entered amount lower than minimum amount, [Swap] button is disabled but users do not know what went wrong. image

To Reproduce Steps to reproduce the behavior:

  1. Go to Swap
  2. Click dropdown menu to choose an asset to Pay from, e.g. ATOM
  3. Input a small amount, e.g. 0.000001 ATOM
  4. [Swap] button is disabled and user is stuck

Expected behavior Shows error message for the required minimum amount

Screenshots image

Additional context N/A