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

Bottom sheet shows networks with 0 balance for ETH, DAI, or SNT during swap flow #21329

Open
VolodLytvynenko opened this issue Sep 26, 2024 · 0 comments

Comments

@VolodLytvynenko
Copy link
Contributor

Steps to Reproduce:

  1. Recover a user with some balance on only one network for default tokens like ETH, DAI, or SNT.
  2. Tap the swap button.
  3. Go to the "Select assets to pay" page.
  4. Select the current token.

Actual Result:

The bottom sheet shows all 3 networks for selection, even if a network has a 0 balance.

image

Expected Result:

  • The bottom sheet should display networks only if the token is available on at least two networks.
  • Networks with a 0 balance should not appear.
  • If all networks have a 0 balance, the user should be navigated to the sending flow after asset selection where an L1 network should be selected design
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant