diff --git a/src/components/structures/EmbeddedPage.js b/src/components/structures/EmbeddedPage.js index 6e15e74ad8..472a43e142 100644 --- a/src/components/structures/EmbeddedPage.js +++ b/src/components/structures/EmbeddedPage.js @@ -44,7 +44,7 @@ export default class EmbeddedPage extends React.PureComponent { constructor(props, context) { super(props, context); - this.dispatcherRef = null; + this._dispatcherRef = null; this.state = { page: '', diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 55a159e77d..9d69fce801 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -431,7 +431,7 @@ export default class GroupView extends React.Component { this._initGroupStore(this.props.groupId, true); - this.dispatcherRef = dis.register(this._onAction); + this._dispatcherRef = dis.register(this._onAction); this._rightPanelStoreToken = RightPanelStore.getSharedInstance().addListener(this._onRightPanelStoreUpdate); }