index.js 529 B

1234567891011121314151617181920212223
  1. // Сюда добавляем редьюсеров для combineReducers и импортируем их в state,
  2. // для создания store
  3. import { combineReducers } from 'redux';
  4. import user from './user';
  5. import changeEmail from './userFields/changeEmail/index';
  6. import changePassword from './userFields/changePassword/index'
  7. import { reducer as form } from 'redux-form';
  8. const combinedReducers = combineReducers({
  9. form,
  10. user,
  11. changeEmail,
  12. changePassword
  13. })
  14. export default combinedReducers;