Skip to content

Commit

Permalink
remove unnecessary _initializeState call in watch() (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amin Mahboubi authored Oct 21, 2020
1 parent 44c4a5d commit facc8a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,6 @@ export class Channel<
const combined = { ...defaultOptions, ...options };
const state = await this.query(combined);
this.initialized = true;
this._initializeState(state);
this.data = state.channel;

this._client.logger(
Expand Down

0 comments on commit facc8a5

Please sign in to comment.