Skip to content

Commit

Permalink
set status on disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
KannuSingh committed Oct 11, 2024
1 parent ba98df3 commit 17cf305
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/adapters/wagmi/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ export class WagmiAdapter implements ChainAdapter {
this.appKit?.resetWcConnection()
this.appKit?.resetNetwork(this.chainNamespace)
this.appKit?.setAllAccounts([], this.chainNamespace)
this.appKit?.setStatus(status, this.chainNamespace)
SafeLocalStorage.removeItem(SafeLocalStorageKeys.WALLET_ID)
if (isAuthConnector) {
await connector.disconnect()
Expand Down

0 comments on commit 17cf305

Please sign in to comment.