Decoupled services from redux
[arvados.git] / src / store / store.ts
index 499d89e82fd84dbfd04ef49dbb373d32b4fd1ac2..6b9c31ff4ee3bfca4426d3364b8440625c4d6e19 100644 (file)
@@ -8,6 +8,7 @@ import thunkMiddleware from 'redux-thunk';
 import { History } from "history";
 import projectsReducer, { ProjectState } from "./project/project-reducer";
 import authReducer, { AuthState } from "./auth/auth-reducer";
+import collectionsReducer from "./collection/collection-reducer";
 
 const composeEnhancers =
     (process.env.NODE_ENV === 'development' &&
@@ -23,6 +24,7 @@ export interface RootState {
 const rootReducer = combineReducers({
     auth: authReducer,
     projects: projectsReducer,
+    collections: collectionsReducer,
     router: routerReducer
 });