web3-react icon indicating copy to clipboard operation
web3-react copied to clipboard

Account Switch does not persist in the app for WalletConnectV2,the app displays the address of the previously connected account instead of Current One.

Open arunkumar201 opened this issue 2 years ago • 2 comments

When a we switches(manually from mobile wallet) to a new account using the Account Switch feature, the app updates the UI to display the new account's details, such as the account address and balance. This update happens immediately and is visible to us. However, when we reload or refresh the page, the app does not retain the state of the Account Switch feature. Instead of displaying the currently connected account, the app displays the address of the previously connected account. I tested on the example website, uni swap official website

chrome-capture-2023-6-26

https://github.com/Uniswap/web3-react/assets/70876302/62faf56a-f82f-4b98-8b02-9d821e5d1178

arunkumar201 avatar Jul 26 '23 18:07 arunkumar201

same problem? Any solution, please

jsmile1994 avatar Jul 29 '23 16:07 jsmile1994

This Issue is Getting only when We are connected to the walleteConnect with Metamask(Mobile app) & same issue is also occurring on the https://cloud.walletconnect.com/sign-in page as well.

arunkumar201 avatar Jul 30 '23 05:07 arunkumar201