open-dollar / od-app

https://app.dev.opendollar.com
6 stars 4 forks source link

Issue #589: QA: create vault #592

Closed jahabeebs closed 3 months ago

jahabeebs commented 3 months ago

closes #589

Description

we need to use the availableHai variable to represent the max of the right input. This is because after triggering onMaxRightInput the rightInput variable is always undefined, which was causing the right input to not be set to anything (it doesn't change). availableHai is the correct up-to-date amount given a left input

Screenshots

Some examples

https://github.com/open-dollar/od-app/assets/47253537/d01be642-f90f-4a20-afc8-d6c2ef8c4d08

Some more examples

https://github.com/open-dollar/od-app/assets/47253537/8c6a6f78-0ece-4d0a-b1fe-2685a027bae0

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
od-app ✅ Ready (Inspect) Visit Preview Jun 25, 2024 0:22am
od-app-hai ✅ Ready (Inspect) Visit Preview Jun 25, 2024 0:22am
od-app-testnet ✅ Ready (Inspect) Visit Preview Jun 25, 2024 0:22am