redux-storage
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -13,3 +13,3 @@ 'use strict'; | ||
return function (state, action) { | ||
return reducer(action.type === _constants.LOAD ? (0, _lodash.merge)(state, action.payload) : state, action); | ||
return reducer(action.type === _constants.LOAD ? (0, _lodash.merge)({}, state, action.payload) : state, action); | ||
}; | ||
@@ -16,0 +16,0 @@ }; |
{ | ||
"name": "redux-storage", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Persistence layer for redux with flexible backends", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
19483