File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ export default function createDevTools(children) {
2727
2828 if ( ! props . store && ! context . store ) {
2929 console . error (
30- `DevTools cannot render because no Redux store was injected via \
31- props or <Provide>` ) ;
30+ 'Redux DevTools could not render. You must pass the Redux store ' +
31+ 'to <DevTools> either as a "store" prop or by wrapping it in a ' +
32+ '<Provider store={store}>.'
33+ ) ;
3234 return ;
3335 }
3436
@@ -40,8 +42,10 @@ props or <Provide>`);
4042
4143 if ( ! this . liftedStore ) {
4244 console . error (
43- `DevTools cannot render because the store not been instrumented \
44- with DevTools.instrument()` ) ;
45+ 'Redux DevTools could not render. Did you forget to include ' +
46+ 'DevTools.instrument() in your store enhancer chain before ' +
47+ 'using createStore()?'
48+ ) ;
4549 }
4650 }
4751
You can’t perform that action at this time.
0 commit comments