diff --git a/resources/dist/index.js b/resources/dist/index.js index 58ddaec3a..39f238fd8 100644 Binary files a/resources/dist/index.js and b/resources/dist/index.js differ diff --git a/resources/dist/index.js.map b/resources/dist/index.js.map index 23fbc3b74..0beeddec2 100644 Binary files a/resources/dist/index.js.map and b/resources/dist/index.js.map differ diff --git a/src/index.js b/src/index.js index ba4296ba4..e5e7a9403 100644 --- a/src/index.js +++ b/src/index.js @@ -66,15 +66,6 @@ function registerChangeListeners( store, actions, schema, userSettings, settings registerChangeListener( store, changeListeners.settings( actions, settingsDialog ) ); } -/** - * Creates the reducer for all actions. - * - * @return {Redux.Reducer} - */ -function createRootReducer() { - return Redux.combineReducers( reducers ); -} - /* * Initialize the application by: * 1. Creating the state store @@ -114,7 +105,7 @@ mw.requestIdleCallback( function () { } store = Redux.createStore( - createRootReducer(), + Redux.combineReducers( reducers ), compose( Redux.applyMiddleware( ReduxThunk.default ) )