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