mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
Fix lint
This commit is contained in:
parent
8c68b9519c
commit
0c3a1c6f7a
|
@ -1,5 +1,4 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { render } from 'react-dom';
|
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
import CounterApp from './CounterApp';
|
import CounterApp from './CounterApp';
|
||||||
import Dock from 'react-dock';
|
import Dock from 'react-dock';
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { render } from 'react-dom';
|
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
import CounterApp from './CounterApp';
|
import CounterApp from './CounterApp';
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ const finalCreateStore = compose(
|
||||||
)(createStore);
|
)(createStore);
|
||||||
|
|
||||||
export default function configureStore(initialState) {
|
export default function configureStore(initialState) {
|
||||||
const store = finalCreateStore(rootReducer);
|
const store = finalCreateStore(rootReducer, initialState);
|
||||||
|
|
||||||
if (module.hot) {
|
if (module.hot) {
|
||||||
module.hot.accept('../reducers', () =>
|
module.hot.accept('../reducers', () =>
|
||||||
|
|
|
@ -7,5 +7,5 @@ const finalCreateStore = compose(
|
||||||
)(createStore);
|
)(createStore);
|
||||||
|
|
||||||
export default function configureStore(initialState) {
|
export default function configureStore(initialState) {
|
||||||
return finalCreateStore(rootReducer);
|
return finalCreateStore(rootReducer, initialState);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user