summaryrefslogtreecommitdiff
path: root/client/store.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/store.js')
-rw-r--r--client/store.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/store.js b/client/store.js
index 9c0f78cd..3c7acefb 100644
--- a/client/store.js
+++ b/client/store.js
@@ -6,6 +6,7 @@ import thunk from 'redux-thunk'
// import reviewReducer from './review/review.reducer'
const rootReducer = combineReducers({
+ auth: (state = {}) => state,
// auth: (state = login()) => state,
// metadata: metadataReducer,
// search: searchReducer,
@@ -16,6 +17,7 @@ function configureStore(initialState = {}) {
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose
const store = createStore(
+ rootReducer,
initialState,
composeEnhancers(
applyMiddleware(