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

hide swap button for token if it can't be swapped #3657

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

wentokay
Copy link
Collaborator

@wentokay wentokay commented Apr 10, 2023

fixes #3075

hides the swap button if it's an unsupported token

token that can be swapped token that cannot be swapped
Screenshot 2023-04-10 at 19 38 13 Screenshot 2023-04-10 at 19 38 18

NOTE: the $0 0% subheading on unsupported tokens has now been removed in #3658

@vercel
Copy link

vercel bot commented Apr 10, 2023

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

Name Status Preview Comments Updated (UTC)
backpack ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2023 6:53pm

@wentokay wentokay force-pushed the wen/only-show-swap-button-if-swaps-are-available branch from 1016998 to 8d8c6f7 Compare April 10, 2023 18:52
@wentokay wentokay marked this pull request as ready for review April 10, 2023 19:10
@wentokay wentokay merged commit 4f47ec5 into master Apr 10, 2023
@wentokay wentokay deleted the wen/only-show-swap-button-if-swaps-are-available branch April 10, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swapper gets stuck on loading screen when trying to swap an unsupported SPL token
1 participant