Skip to content

[BUG]: Event when user disconnects all wallets #2147

Open
@titusdecali

Description

@titusdecali

Is your request related to a problem?

I have a complex flow using multiple wallet connectors, and thus am managing connected wallets internally and not only via Onboard. If the user uses the Onboard disconnect all wallets button, I would like to catch an event and wipe those wallets from my internal state as well (since they are no longer available), however I see nothing in the docs which provides this.

I've also tried adding a watcher to the connectedWallet value to see if it is updated when all wallets are disconnected, but it doesn't appear to update.

Am I missing something in the docs, or can you add this minor feature?

Thanks

Feature Description

No response

Alternative Solutions

No response

Anything else?

No response

Metadata

Metadata

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions