diff options
Diffstat (limited to 'frontend/site/store.js')
| -rw-r--r-- | frontend/site/store.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/site/store.js b/frontend/site/store.js index 5cb1a1b..60c3116 100644 --- a/frontend/site/store.js +++ b/frontend/site/store.js @@ -4,17 +4,18 @@ import { createBrowserHistory } from 'history' import thunk from 'redux-thunk' import siteReducer from 'site/site/site.reducer' -import AudioPlayer from 'site/audio/audio.player' +import audioReducer from 'site/audio/audio.reducer' const createRootReducer = history => ( combineReducers({ auth: (state = {}) => state, router: connectRouter(history), + audio: audioReducer, site: siteReducer, }) ) -const configureStore = (initialState = { audio: audioPlayer }, history) => { +const configureStore = (initialState = {}, history) => { const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose const store = createStore( |
