diff --git a/packages/angular/src/wallet/wallet.store.ts b/packages/angular/src/wallet/wallet.store.ts index 3532b5b62..e1547ad00 100644 --- a/packages/angular/src/wallet/wallet.store.ts +++ b/packages/angular/src/wallet/wallet.store.ts @@ -215,7 +215,7 @@ export class WalletStore extends ComponentStore { return this.adapter$.pipe( isNotNull, switchMap((adapter) => - fromAdapterEvent(adapter, 'disconnect').pipe(tap(() => this.patchState(initialState))) + fromAdapterEvent(adapter, 'disconnect').pipe(tap(() => this.patchState({ name: null }))) ) ); });