diff --git a/packages/common/src/index.ts b/packages/common/src/index.ts index 5bcd760..0494500 100644 --- a/packages/common/src/index.ts +++ b/packages/common/src/index.ts @@ -7,4 +7,4 @@ import * as FeedMessage from './feed'; export { Types, FeedMessage }; // Increment this if breaking changes were made to types in `feed.ts` -export const VERSION: Types.FeedVersion = 6 as Types.FeedVersion; +export const VERSION: Types.FeedVersion = 7 as Types.FeedVersion; diff --git a/packages/frontend/src/Connection.ts b/packages/frontend/src/Connection.ts index aee3850..659e627 100644 --- a/packages/frontend/src/Connection.ts +++ b/packages/frontend/src/Connection.ts @@ -84,7 +84,8 @@ export class Connection { // Re-subscribe to previously selected chain if (this.state.subscribed) { - this.subscribe(this.state.subscribed); + // TODO: Remember the previous subscription for after we get chain info + this.state = this.update({ subscribed: null }); } this.socket.addEventListener('message', this.handleMessages);