mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Prettier enhancement: use eslint-disable-next-line
This commit is contained in:
parent
6e6bb28211
commit
f8333f51a9
1 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ import './index.css';
|
|||
|
||||
// If we're in a browser already, render the client application.
|
||||
if (typeof window !== 'undefined') {
|
||||
const preloadedState = window.__PRELOADED_STATE__ || {}; // eslint-disable-line no-underscore-dangle
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
const preloadedState = window.__PRELOADED_STATE__ || {};
|
||||
const store = configureStore(preloadedState);
|
||||
|
||||
ReactDOM.render(<ClientApp store={store} />, document.getElementById('root'));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue