@@ -52,7 +52,7 @@ const DevTools = createDevTools(
52
52
defaultIsVisible= {true }
53
53
>
54
54
< LogMonitor theme= " tomorrow" / >
55
- < / DockMonitor>
55
+ < / DockMonitor> ,
56
56
);
57
57
58
58
export default DevTools ;
@@ -88,7 +88,7 @@ const enhancer = compose(
88
88
// Middleware you want to use in development:
89
89
applyMiddleware (d1, d2, d3),
90
90
// Required! Enable Redux DevTools with the monitors you chose
91
- DevTools .instrument ()
91
+ DevTools .instrument (),
92
92
);
93
93
94
94
export default function configureStore (initialState ) {
@@ -100,8 +100,8 @@ export default function configureStore(initialState) {
100
100
if (module .hot ) {
101
101
module .hot .accept (' ../reducers' , () =>
102
102
store .replaceReducer (
103
- require (' ../reducers' ) /* .default if you use Babel 6+ */
104
- )
103
+ require (' ../reducers' ) /* .default if you use Babel 6+ */ ,
104
+ ),
105
105
);
106
106
}
107
107
@@ -121,7 +121,7 @@ const enhancer = compose(
121
121
// Required! Enable Redux DevTools with the monitors you chose
122
122
DevTools .instrument (),
123
123
// Optional. Lets you write ?debug_session=<key> in address bar to persist debug sessions
124
- persistState (getDebugSessionKey ())
124
+ persistState (getDebugSessionKey ()),
125
125
);
126
126
127
127
function getDebugSessionKey () {
@@ -200,7 +200,7 @@ const enhancer = compose(
200
200
// Required! Enable Redux DevTools with the monitors you chose
201
201
DevTools .instrument (),
202
202
// Optional. Lets you write ?debug_session=<key> in address bar to persist debug sessions
203
- persistState (getDebugSessionKey ())
203
+ persistState (getDebugSessionKey ()),
204
204
);
205
205
206
206
function getDebugSessionKey () {
@@ -219,8 +219,8 @@ export default function configureStore(initialState) {
219
219
if (module .hot ) {
220
220
module .hot .accept (' ../reducers' , () =>
221
221
store .replaceReducer (
222
- require (' ../reducers' ) /* .default if you use Babel 6+ */
223
- )
222
+ require (' ../reducers' ) /* .default if you use Babel 6+ */ ,
223
+ ),
224
224
);
225
225
}
226
226
@@ -333,7 +333,7 @@ render(
333
333
< Provider store= {store}>
334
334
< App / >
335
335
< / Provider> ,
336
- document .getElementById (' root' )
336
+ document .getElementById (' root' ),
337
337
);
338
338
339
339
if (process .env .NODE_ENV !== ' production' ) {
@@ -353,7 +353,7 @@ export default function showDevTools(store) {
353
353
const popup = window .open (
354
354
null ,
355
355
' Redux DevTools' ,
356
- ' menubar=no,location=no,resizable=yes,scrollbars=no,status=no'
356
+ ' menubar=no,location=no,resizable=yes,scrollbars=no,status=no' ,
357
357
);
358
358
// Reload in case it already exists
359
359
popup .location .reload ();
@@ -362,7 +362,7 @@ export default function showDevTools(store) {
362
362
popup .document .write (' <div id="react-devtools-root"></div>' );
363
363
render (
364
364
< DevTools store= {store} / > ,
365
- popup .document .getElementById (' react-devtools-root' )
365
+ popup .document .getElementById (' react-devtools-root' ),
366
366
);
367
367
}, 10 );
368
368
}
0 commit comments