Skip to content

Commit 7b44e33

Browse files
Egor Egorovtimdorr
Egor Egorov
authored andcommitted
remove _isMounted (#1338)
it is not doing anything
1 parent 8e08fc8 commit 7b44e33

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/Provider.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ class Provider extends Component {
2222
}
2323

2424
componentDidMount() {
25-
this._isMounted = true
26-
2725
this.state.subscription.trySubscribe()
2826

2927
if (this.previousState !== this.props.store.getState()) {
@@ -35,8 +33,6 @@ class Provider extends Component {
3533
if (this.unsubscribe) this.unsubscribe()
3634

3735
this.state.subscription.tryUnsubscribe()
38-
39-
this._isMounted = false
4036
}
4137

4238
componentDidUpdate(prevProps) {

0 commit comments

Comments
 (0)