src/applications/mhv-secure-messaging/reducers/index.js
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;