Skip to content

Commit

Permalink
fix: add requestPermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed May 22, 2024
1 parent 64802df commit ad85ee7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/docs/getting-started/subscribe-to-active-account.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ dAppClient.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, async (account) => {
// handle disconnection
}
});

dAppClient.requestPermissions();
```

</TabItem>
Expand Down Expand Up @@ -401,6 +403,8 @@ wallet.client.subscribeToEvent(
}
},
);

wallet.client.requestPermissions();
```

</TabItem>
Expand Down

0 comments on commit ad85ee7

Please sign in to comment.