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