entities-reducer
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -52,3 +52,7 @@ 'use strict'; | ||
}, {}); | ||
return (0, _redux.combineReducers)(Object.assign({}, baseReducers, reducers))(state, action); | ||
var mergedReducers = Object.assign({}, baseReducers, reducers); | ||
if (Object.keys(mergedReducers).length) { | ||
return (0, _redux.combineReducers)(Object.assign({}, baseReducers, reducers))(state, action); | ||
} | ||
return state; | ||
}; | ||
@@ -55,0 +59,0 @@ |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Redux normalized entity reducer", | ||
@@ -14,0 +14,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8821
59