Skip to content

Ensures selected tokens are not the same#7

Merged
joaobrunoah merged 1 commit intomainfrom
stable-surge-swap
Aug 14, 2025
Merged

Ensures selected tokens are not the same#7
joaobrunoah merged 1 commit intomainfrom
stable-surge-swap

Conversation

@joaobrunoah
Copy link
Collaborator

Updates the token selection logic to prevent selecting the same token for both input and output. It now swaps the output token if the user selects the same input token, and vice-versa. Also, removes the disabled prop for `` elements.

Updates the token selection logic to prevent selecting the same token for both input and output.
It now swaps the output token if the user selects the same input token, and vice-versa.
Also, removes the `disabled` prop for `` elements.
@joaobrunoah joaobrunoah merged commit 837347f into main Aug 14, 2025
@joaobrunoah joaobrunoah deleted the stable-surge-swap branch September 1, 2025 18:53
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.

1 participant