2018-04-20 16:55:03 -04:00
|
|
|
/**
|
|
|
|
* Redux setup
|
|
|
|
*/
|
|
|
|
import { combineReducers, createStore } from 'redux';
|
|
|
|
|
2018-05-03 15:23:48 -04:00
|
|
|
import * as reducers from '//reducers';
|
2018-04-20 16:55:03 -04:00
|
|
|
|
|
|
|
const configureStore = (defaultState = {}) => {
|
|
|
|
return createStore(combineReducers({
|
|
|
|
...reducers,
|
|
|
|
}), defaultState);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default configureStore;
|