Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
isordo committed Aug 31, 2023
1 parent f8e1dde commit 081d5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/beacon-dapp/src/dapp-client/DAppClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,8 @@ export class DAppClient extends Client {
if (elements?.includes('alert')) {
// if the sync was aborted from the wallet side
this._initPromise = undefined
// by dispatching two opposite events (one closes the alert the other one closes it)
// triggers some sort of race condition in the UI render cycle
// by dispatching two opposite events (one closes the alert the other one opens it)
// it triggers some sort of race condition in the UI render cycle
setTimeout(async () => await this.events.emit(BeaconEvent.NO_PERMISSIONS), 1000)
}
}
Expand Down

0 comments on commit 081d5cb

Please sign in to comment.