We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52a0a41 commit c9cac3eCopy full SHA for c9cac3e
packages/core/src/reducers/core.ts
@@ -210,7 +210,7 @@ export const coreReducer = (
210
};
211
} else {
212
const oldData: any = get(state.data, action.path);
213
- let newData = action.updater(oldData);
+ let newData = action.updater(cloneDeep(oldData));
214
if (newData === '') {
215
newData = undefined;
216
}
0 commit comments