Skip to content

Commit

Permalink
fix: reset isLeader status
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Jul 25, 2024
1 parent 5c177a2 commit a923848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/beacon-core/src/utils/multi-tab-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class MultiTabChannel {
data: this.neighborhood
})
this.neighborhood.splice(0)
this.isLeader = false
} else {
this.postMessage({ type: 'CHILD_DEAD' })
}
Expand Down

0 comments on commit a923848

Please sign in to comment.