1234567891011121314151617181920212223 |
- // Сюда добавляем редьюсеров для combineReducers и импортируем их в state,
- // для создания store
- import { combineReducers } from 'redux';
- import user from './user';
- import changeEmail from './userFields/changeEmail/index';
- import changePassword from './userFields/changePassword/index'
- import { reducer as form } from 'redux-form';
- const combinedReducers = combineReducers({
- form,
- user,
- changeEmail,
- changePassword
- })
- export default combinedReducers;
|