2016-08-25 20:52:55 +03:00
|
|
|
import { createStore, applyMiddleware } from 'redux';
|
|
|
|
import thunk from 'redux-thunk';
|
2016-08-24 18:56:44 +03:00
|
|
|
import appReducer from '../reducers';
|
|
|
|
|
2016-08-25 20:52:55 +03:00
|
|
|
export default function configureStore() {
|
|
|
|
return createStore(appReducer, applyMiddleware(thunk));
|
2016-08-24 18:56:44 +03:00
|
|
|
}
|