headline-design / hdx-bug-smasher

HDX Bug Smasher is a feedback/issue-tracking repo for the HDX Protocol interface and contracts.
MIT License
7 stars 6 forks source link

SWAP [DESKTOP]: Swap button state inaccurate. #98

Open mjaysona opened 2 years ago

mjaysona commented 2 years ago

Device used: Macbook Pro OS: macOS Monterey Browser: Brave/Chrome

Description: Swap button stays enabled when I try to reverse the tokens even if the primary token's value in the input is more than the user's current balance.

https://user-images.githubusercontent.com/14266979/184475921-a3816e6f-7328-479f-a9ba-71f1ee5d7339.mov

Pre-requisite/s:

Steps:

  1. Go to https://hdx.fi/#/swap.
  2. Click the Select a token button.
  3. Select USDC.
  4. Enter 1 Algo in the Algo amount field (Swap button is enabled)
  5. Click the reverse button icon image

What happens?

What should happen?