File tree 1 file changed +7
-11
lines changed
1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,13 @@ function warnAboutReceivingStore() {
9
9
}
10
10
didWarnAboutReceivingStore = true
11
11
12
- /* eslint-disable no-console */
13
- if ( typeof console !== 'undefined' && typeof console . error === 'function' ) {
14
- warning (
15
- '<Provider> does not support changing `store` on the fly. ' +
16
- 'It is most likely that you see this error because you updated to ' +
17
- 'Redux 2.x and React Redux 2.x which no longer hot reload reducers ' +
18
- 'automatically. See https://github.com/reactjs/react-redux/releases/' +
19
- 'tag/v2.0.0 for the migration instructions.'
20
- )
21
- }
22
- /* eslint-disable no-console */
12
+ warning (
13
+ '<Provider> does not support changing `store` on the fly. ' +
14
+ 'It is most likely that you see this error because you updated to ' +
15
+ 'Redux 2.x and React Redux 2.x which no longer hot reload reducers ' +
16
+ 'automatically. See https://github.com/reactjs/react-redux/releases/' +
17
+ 'tag/v2.0.0 for the migration instructions.'
18
+ )
23
19
}
24
20
25
21
export default class Provider extends Component {
You can’t perform that action at this time.
0 commit comments