divaprotocol / diva-monorepo

Diva Monorepo
https://diva.finance
4 stars 4 forks source link

[BUG]: Collateral token balance incorrectly placed #758

Closed Walodja1987 closed 1 year ago

Walodja1987 commented 1 year ago

Context

In Buy in order widget, it currently shows the balance amount in collateral token below the position token Amount field which doesn't make too much sense. The "You Pay" amount (incl. fees when Set Price Target is unchecked) should be compared to the user's collateral token balance. So we should probably move the Balance information below You Pay field.

Screenshots

image

Walodja1987 commented 1 year ago

Fixed in #751