Skip to content

Commit

Permalink
fix: remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Oct 7, 2024
1 parent 0e076d4 commit 2872b8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions packages/beacon-core/src/utils/multi-tab-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ type BCMessageType =
| 'LEADER_DEAD'
| 'RESPONSE'
| 'DISCONNECT'
| 'REQUEST_PAIRING'
| 'RESPONSE_PAIRING'
| 'HIDE_UI'
| 'NEW_PEER'
| 'GET_PERMISSIONS'
| BeaconMessageType

type BCMessage = {
Expand Down
1 change: 0 additions & 1 deletion packages/beacon-dapp/src/dapp-client/DAppClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ export class DAppClient extends Client {

this.walletConnectTransport.setEventHandler(ClientEvents.CLOSE_ALERT, () => {
this.hideUI(['alert', 'toast'])
this.multiTabChannel.postMessage({ type: 'HIDE_UI', data: ['alert', 'toast'] })
})
this.walletConnectTransport.setEventHandler(
ClientEvents.RESET_STATE,
Expand Down

0 comments on commit 2872b8f

Please sign in to comment.