department-of-veterans-affairs/vets-website

View on GitHub
src/applications/mhv-secure-messaging/reducers/index.js

Summary

Maintainability
A
0 mins
Test Coverage
import { combineReducers } from 'redux';

import { alertsReducer } from './alerts';
import { appReducer } from './app';
import { recipientsReducer } from './recipients';
import { categoriesReducer } from './categories';
import { foldersReducer } from './folders';
import { searchReducer } from './search';
import { triageTeamsReducer } from './triageTeams';
import { breadcrumbsReducer } from './breadcrumbs';
import { threadsReducer } from './threads';
import { preferencesReducer } from './preferences';
import { threadDetailsReducer } from './threadDetails';
import { facilitiesReducer } from './facilities';

const rootReducer = {
  sm: combineReducers({
    alerts: alertsReducer,
    app: appReducer,
    recipients: recipientsReducer,
    breadcrumbs: breadcrumbsReducer,
    categories: categoriesReducer,
    facilities: facilitiesReducer,
    folders: foldersReducer,
    search: searchReducer,
    threads: threadsReducer,
    threadDetails: threadDetailsReducer,
    triageTeams: triageTeamsReducer,
    preferences: preferencesReducer,
  }),
};

export default rootReducer;