Skip to content

Commit

Permalink
fix: display_uri event malformed (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdouardBougon authored Oct 16, 2024
1 parent 9866480 commit ce50b15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/sdk/src/provider/initializeMobileProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ const initializeMobileProvider = async ({

if (initializationOngoing) {
// Always re-emit the display_uri event
provider.emit('display_uri', {
uri: remoteConnection?.state.qrcodeLink || '',
});
provider.emit('display_uri', remoteConnection?.state.qrcodeLink || '');

// make sure the active modal is displayed
remoteConnection?.showActiveModal();
Expand Down

0 comments on commit ce50b15

Please sign in to comment.