Skip to content

Commit 0a5f6fa

Browse files
committed
Fix up linting against latest master.
1 parent a5839f4 commit 0a5f6fa

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

docs/recipes/ServerRendering.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ import counterApp from './reducers';
128128

129129
const 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');
134135
React.render(
135136
<Provider store={store}>
136137
{() => <App/>}

examples/universal/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import counterApp from './reducers';
77

88
const 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

1414
React.render(
1515
<Provider store={store}>

examples/universal/webpack.server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*eslint-disable no-console*/
1+
/* eslint-disable no-console */
22

33
var webpack = require('webpack');
44
var WebpackDevServer = require('webpack-dev-server');

0 commit comments

Comments
 (0)