You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The switchNetwork function should prompt a connected wallet to switch to the target network, but it shouldn't cause the connected wallet to disconnect from the web frontend after successfully changing networks.
Use any of the demo switch network buttons under the "example" section
The vast majority of the time, a network switch will cause the connected wallet to disconnect and you will see that the switch network buttons disappear and become just a "connect" button. Very occasionally a disconnect won't occur.
Describe the bug
The
switchNetworkfunction should prompt a connected wallet to switch to the target network, but it shouldn't cause the connected wallet to disconnect from the web frontend after successfully changing networks.To Reproduce
switchNetworkdocumentation at: https://usedapp-docs.netlify.app/docs/Guides/Transactions/Switching%20NetworksSoftware versions
useDappversion: v1.2.10Additional context
switch-network-disconnect.mp4