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