diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 23:21:02 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 23:21:02 +0100 |
| commit | fe303999bb3d1067783ea96cef71ea2a4a69a2df (patch) | |
| tree | c76af2b4ed724984953ac4b91f9452ba63d13370 /client/store.js | |
| parent | a53a598461a25e8bf1d0bd3e63c47642e3213aef (diff) | |
embedding applets
Diffstat (limited to 'client/store.js')
| -rw-r--r-- | client/store.js | 2 |
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( |
