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

network switch connects then disconnects #126

Open
dkent600 opened this issue Aug 24, 2022 · 0 comments
Open

network switch connects then disconnects #126

dkent600 opened this issue Aug 24, 2022 · 0 comments

Comments

@dkent600
Copy link
Member

dkent600 commented Aug 24, 2022

STEPS:

  1. build the app for dev (to target alfajores)
  2. start the app
  3. point metamask to any other network than alfajores
  4. close the app
  5. reopen the app
  6. click the Connect Wallet button
  7. in web3modal, select Metamask
  8. sign in to Metamask

RESULT:
The app asks you if you want to switch to Alfajores

  1. Say No Thanks
  2. Click Connect Wallet again

RESULT:
The app asks you if you want to switch to Alfajores
11. Say Yes Please

RESULT:
The app header flashes the user's wallet information, but it is quickly replaced by the Connect Wallet button.

EXPECT:
The Connect Wallet button should not reappear.

This is not easy to reproduce. And I suspect it only happens when running in the VSCode debugger.

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

No branches or pull requests

1 participant