Decoupled services from redux
[arvados.git] / src / store / store.ts
index d541156e2d3613f6ddd4bd920fb659528c6e1a2b..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' &&
@@ -15,14 +16,15 @@ const composeEnhancers =
     compose;
 
 export interface RootState {
-    auth: AuthState,
-    projects: ProjectState,
-    router: RouterState
+    auth: AuthState;
+    projects: ProjectState;
+    router: RouterState;
 }
 
 const rootReducer = combineReducers({
     auth: authReducer,
     projects: projectsReducer,
+    collections: collectionsReducer,
     router: routerReducer
 });