huridocs/uwazi

View on GitHub
app/react/Attachments/reducers/reducer.js

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import { combineReducers } from 'redux';
import { modelReducer, formReducer } from 'react-redux-form';
import progress from './progressReducer';

export default combineReducers({
  progress,
  edit: combineReducers({
    attachment: modelReducer('attachments.edit.attachment'),
    form: formReducer('attachments.edit.attachment'),
  }),
});