Skip to content

Commit

Permalink
fix: update bridge client (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
xzjcool authored Jul 13, 2020
1 parent b93a7d9 commit caf31cf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/client/bridge/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,13 @@ import {
* Bridge
*/
export class Bridge {
static instance: Bridge

private _bncClient!: BncClient

/**
* @param {BncClient} bncClient
*/
constructor(bncClient: BncClient) {
if (!Bridge.instance) {
this._bncClient = bncClient
Bridge.instance = this
}

return Bridge.instance
this._bncClient = bncClient
}

/**
Expand Down

0 comments on commit caf31cf

Please sign in to comment.