Skip to content

Bug: Wallet connection status doesn't update immediately after switching accounts #1845

@careful-exurbia0j

Description

@careful-exurbia0j

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

  1. Connect the wallet using the Coinbase Wallet SDK.
  2. Switch to a different account within the wallet.
  3. Observe that the connection status does not immediately update to reflect the new account.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions