Inital user auth commit

This commit is contained in:
Stuart Taylor
2018-04-11 14:46:46 +01:00
committed by Mrugesh Mohapatra
parent 6dd6b44848
commit c4108aca5d
9 changed files with 333 additions and 40 deletions

View File

@@ -6,16 +6,19 @@ import {
import { combineEpics, createEpicMiddleware } from 'redux-observable';
import { routerReducer as router, routerMiddleware } from 'react-router-redux';
import { reducer as app } from './app';
import { reducer as challenge, epics } from '../templates/Challenges/redux';
import { reducer as map } from '../components/Map/redux';
const rootReducer = combineReducers({
app,
challenge,
map,
router
});
const rootEpic = combineEpics(...epics);
const epicMiddleware = createEpicMiddleware(rootEpic, {
dependencies: {
window: typeof window !== 'undefined' ? window : {},