From fdd756e8be7338eaca1131de3004e4fc6a991e6f Mon Sep 17 00:00:00 2001 From: Isacco Date: Thu, 19 Oct 2023 16:15:47 +0200 Subject: [PATCH] fix: hideui --- packages/beacon-dapp/src/dapp-client/DAppClient.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/beacon-dapp/src/dapp-client/DAppClient.ts b/packages/beacon-dapp/src/dapp-client/DAppClient.ts index 948de16dc..5469ef011 100644 --- a/packages/beacon-dapp/src/dapp-client/DAppClient.ts +++ b/packages/beacon-dapp/src/dapp-client/DAppClient.ts @@ -437,9 +437,7 @@ export class DAppClient extends Client { console.log('walletInfo: ', walletInfo) - if (walletInfo.name === '' || walletInfo.name === 'wallet') { - setTimeout(async () => await this.events.emit(BeaconEvent.HIDE_UI, ['alert'])) - } + setTimeout(async () => await this.events.emit(BeaconEvent.HIDE_UI, ['alert'])) await this.events.emit(BeaconEvent.WC_ACKNOWLEDGE_PENDING, { walletInfo }) }