@webkrafters/react-observable-context 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -234,7 +234,7 @@ var $set = function () {
|
|
|
234
234
|
var toString = Object.prototype.toString;
|
|
235
235
|
var set = function set(state, stateKey, stats, changes) {
|
|
236
236
|
if (toString.call(changes[stateKey][_constants.SET_TAG]) === '[object Function]') {
|
|
237
|
-
changes[stateKey][_constants.SET_TAG] = changes[stateKey][_constants.SET_TAG]((0, _utils.clonedeep)(state[stateKey]));
|
|
237
|
+
changes[stateKey][_constants.SET_TAG] = (0, _utils.clonedeep)(changes[stateKey][_constants.SET_TAG]((0, _utils.clonedeep)(state[stateKey])));
|
|
238
238
|
}
|
|
239
239
|
applyReplaceCommand(_constants.SET_TAG, state, changes, stateKey, stats);
|
|
240
240
|
};
|
package/package.json
CHANGED