From 061e375e41cc9ba0d4166285ab7ae5f5972ddfcb Mon Sep 17 00:00:00 2001 From: Juliano Lazzarotto <30806844+stackchain@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:09:03 +0100 Subject: [PATCH] chore(wallet-mobile): CRs clean ups --- apps/wallet-mobile/src/wallet-manager/walletManager.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/wallet-mobile/src/wallet-manager/walletManager.ts b/apps/wallet-mobile/src/wallet-manager/walletManager.ts index b7bff12089..c89939a897 100644 --- a/apps/wallet-mobile/src/wallet-manager/walletManager.ts +++ b/apps/wallet-mobile/src/wallet-manager/walletManager.ts @@ -139,9 +139,7 @@ export class WalletManager { await this.#rootStorage.setItem('deletedWalletIds', []) } - // Note(ppershing): needs 'this' to be bound _notify = (event: WalletManagerEvent) => { - // TODO(ppershing): do this in next tick? this.#subscriptions.forEach((handler) => handler(event)) } @@ -223,7 +221,6 @@ export class WalletManager { }) wallet.subscribe((event) => this._notify(event as never)) - // wallet.startSync() return wallet }