File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ export default {
39
39
const storeKeys = Array . from ( hydratedStores . keys ( ) ) . join ( ', ' ) ;
40
40
41
41
if ( storeKeys . length === 0 ) {
42
- const msg = ' There are no stores hydrated and you are requesting the store ' +
43
- ` ${ name } . This can happen if you are server rendering and either \nyou do not call ` +
44
- "redux_store near the top of your controller action's view (not the layout) " +
45
- 'and before any call to react_component \nor you do not render ' +
46
- 'redux_store_hydration_data anywhere on your page' ;
42
+ const msg = ` There are no stores hydrated and you are requesting the store ${ name } .\n` +
43
+ ' This can happen if you are server rendering and either: \n' +
44
+ "1) You do not call redux_store near the top of your controller action's " +
45
+ 'view (not the layout) and before any call to react_component \n ' +
46
+ '2) You do not render redux_store_hydration_data anywhere on your page' ;
47
47
throw new Error ( msg ) ;
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments