Skip to content

Commit

Permalink
removed defaults for reduce
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz committed Mar 21, 2017
1 parent dce3a41 commit b19b1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/utils/PluginsUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const getPluginItems = (state, plugins, pluginsConfig, name, id, isDefault, load
const getReducers = (plugins) => Object.keys(plugins).map((name) => plugins[name].reducers)
.reduce((previous, current) => assign({}, previous, current), {});
const getEpics = (plugins) => Object.keys(plugins).map((name) => plugins[name].epics)
.reduce((previous = [], current = []) => assign({}, previous, current), {});
.reduce((previous, current) => assign({}, previous, current), {});
const PluginsUtils = {
combineReducers: (plugins, reducers) => {
const pluginsReducers = getReducers(plugins);
Expand Down

0 comments on commit b19b1f0

Please sign in to comment.