diff --git a/src/components/Provider.js b/src/components/Provider.js index 9586b5f73..6b3e46ba2 100644 --- a/src/components/Provider.js +++ b/src/components/Provider.js @@ -22,8 +22,6 @@ class Provider extends Component { } componentDidMount() { - this._isMounted = true - this.state.subscription.trySubscribe() if (this.previousState !== this.props.store.getState()) { @@ -35,8 +33,6 @@ class Provider extends Component { if (this.unsubscribe) this.unsubscribe() this.state.subscription.tryUnsubscribe() - - this._isMounted = false } componentDidUpdate(prevProps) {