Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed May 22, 2024
1 parent 2f0e781 commit da60f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/getting-started/subscribe-to-active-account.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ yarn add broadcast-channel
The main idea is to elect a tab as the Leader so that only this tab will send a request to the wallet. First, set up a channel.

```ts
const channel = new BroadcastChannel("beacon-channel");
const channel = new BroadcastChannel("beacon-channel"); // "beacon-channel" is an example, you can choose any name you want
const elector = createLeaderElection(channel);
```

Expand Down

0 comments on commit da60f9f

Please sign in to comment.