Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECO-2548] Fix swap component inputs so it swaps the input/output amounts upon buy => sell and vice versa #441

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

xbtmatt
Copy link
Collaborator

@xbtmatt xbtmatt commented Dec 4, 2024

Description

We can make the swap component perfectly simulate + not lose precision when displaying input/output amounts and swapping back and forth between buy/sell now.

This is a very small fix.

Testing

Already tested locally.

Checklist

  • Did you update relevant documentation?
  • Did you add tests to cover new code or a fixed issue?
  • Did you update the changelog?
  • Did you check all checkboxes from the linked Linear task?

@xbtmatt xbtmatt requested a review from alnoki December 4, 2024 19:47
Copy link

vercel bot commented Dec 4, 2024

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

Name Status Preview Comments Updated (UTC)
emojicoin-dot-fun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 7:55pm
emojicoin-dot-fun-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 7:55pm

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.

2 participants