import {createStore, applyMiddleware, combineReducers} from 'redux';
import ReduxPromise from 'redux-promise';

import accountReducer from './reducers/AccountReducer';
import linkReducer from './reducers/LinkReducers';

const reducers = combineReducers({
    account : accountReducer,
    link : linkReducer,
});

const store = createStore(reducers, applyMiddleware(ReduxPromise));


export default store;