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';
128128
129129const initialState = window .__INITIAL_STATE__ ;
130130
131- let store = createStore (counterApp, initialState);
131+ const store = createStore (counterApp, initialState);
132+
133+ const rootElement = document .getElementById (' app' );
132134
133- let rootElement = document .getElementById (' app' );
134135React .render (
135136 < Provider store= {store}>
136137 {() => < App/ > }
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ import counterApp from './reducers';
77
88const initialState = window . __INITIAL_STATE__ ;
99
10- let store = createStore ( counterApp , initialState ) ;
10+ const store = createStore ( counterApp , initialState ) ;
1111
12- let rootElement = document . getElementById ( 'app' ) ;
12+ const rootElement = document . getElementById ( 'app' ) ;
1313
1414React . render (
1515 < Provider store = { store } >
Original file line number Diff line number Diff line change 1- /*eslint-disable no-console*/
1+ /* eslint-disable no-console */
22
33var webpack = require ( 'webpack' ) ;
44var WebpackDevServer = require ( 'webpack-dev-server' ) ;
You can’t perform that action at this time.
0 commit comments