SumOfUs/Champaign

View on GitHub
app/javascript/state/reducers.js

Summary

Maintainability
A
1 hr
Test Coverage
import { combineReducers } from 'redux';
import member from './member/reducer';
import fundraiser from './fundraiser/reducer';
import paymentMethods from './paymentMethods/reducer';
import page from './page/reducer';
import consent from './consent';
import forms from './forms';
import features from './features';
import donationsThermometer from './thermometer';
import extraActionFields from './extraActionFields';
import { reducer as emailTarget } from './email_pension/actions';
import abTests from './experiments';

const reducers = {
  consent,
  emailTarget,
  extraActionFields,
  features,
  fundraiser,
  forms,
  member,
  page,
  paymentMethods,
  donationsThermometer,
  abTests,
};

export default combineReducers(reducers);

export const INITIAL_ACTION = '@@chmp:initialize';