Describe the bug
After switching accounts in the Coinbase Wallet SDK, the connection status does not update right away, leading to outdated information being displayed. This results in users seeing incorrect status, which can cause confusion
Steps
- Connect the wallet using the Coinbase Wallet SDK.
- Switch to a different account within the wallet.
- Observe that the connection status does not immediately update to reflect the new account.
- The UI continues displaying the previous account's status.
Expected behavior
The connection status should immediately reflect the state of the new account. The UI should show the correct status consistently, preventing confusion
Version
- Package: @coinbase/wallet-sdk - Affected version: v4.x - Tested version: v4.1.x (latest at time of testing)
Additional info
No response
Desktop
- OS: macOS 14.x
- Browser: Chrome
- Browser Version: 120+
Smartphone
No response