diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-17 18:36:14 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-17 18:36:14 +0100 |
| commit | 2313cc4bb4d6c511c76d28020c1c97e6a5eb0a4d (patch) | |
| tree | 1847076edc6efda0f9e075f12a9be91f63372cb5 /frontend/site/store.js | |
| parent | d165a0727e42349d935ab3ee287242f1e5029742 (diff) | |
audio actually playing
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( |
