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