Skip to content

Commit

Permalink
fix: hideui
Browse files Browse the repository at this point in the history
  • Loading branch information
isordo committed Oct 19, 2023
1 parent 950177e commit fdd756e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/beacon-dapp/src/dapp-client/DAppClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}
Expand Down

0 comments on commit fdd756e

Please sign in to comment.