Skip to content

fix: format max close position amount (Bounty #11)#190

Open
arthurus36-alt wants to merge 1 commit into
capofficial:mainfrom
arthurus36-alt:feature/issue-11-format-size-bounty_pusher
Open

fix: format max close position amount (Bounty #11)#190
arthurus36-alt wants to merge 1 commit into
capofficial:mainfrom
arthurus36-alt:feature/issue-11-format-size-bounty_pusher

Conversation

@arthurus36-alt
Copy link
Copy Markdown

When users click on the Max label in the Close Position modal, the inserted amount is now formatted using formatForDisplay(data.size) rather than the raw data.size. This fixes the unformatted, long decimal strings that sometimes appeared in the input field. Fixes #11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Size to close is not well formatted, sometimes

1 participant