File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,10 @@ import counterApp from './reducers';
128
128
129
129
const initialState = window .__INITIAL_STATE__ ;
130
130
131
- let store = createStore (counterApp, initialState);
131
+ const store = createStore (counterApp, initialState);
132
+
133
+ const rootElement = document .getElementById (' app' );
132
134
133
- let rootElement = document .getElementById (' app' );
134
135
React .render (
135
136
< Provider store= {store}>
136
137
{() => < App/ > }
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ import counterApp from './reducers';
7
7
8
8
const initialState = window . __INITIAL_STATE__ ;
9
9
10
- let store = createStore ( counterApp , initialState ) ;
10
+ const store = createStore ( counterApp , initialState ) ;
11
11
12
- let rootElement = document . getElementById ( 'app' ) ;
12
+ const rootElement = document . getElementById ( 'app' ) ;
13
13
14
14
React . render (
15
15
< Provider store = { store } >
Original file line number Diff line number Diff line change 1
- /*eslint-disable no-console*/
1
+ /* eslint-disable no-console */
2
2
3
3
var webpack = require ( 'webpack' ) ;
4
4
var WebpackDevServer = require ( 'webpack-dev-server' ) ;
You can’t perform that action at this time.
0 commit comments