@nocios/crudify-ui 1.0.73 → 1.0.74
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.
- package/dist/index.js +7 -4
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -274,10 +274,13 @@ function loginStateReducer(state, action) {
|
|
|
274
274
|
// Clear related errors when updating form data
|
|
275
275
|
errors: {
|
|
276
276
|
...state.errors,
|
|
277
|
-
...Object.keys(action.payload).reduce(
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
277
|
+
...Object.keys(action.payload).reduce(
|
|
278
|
+
(acc, key) => ({
|
|
279
|
+
...acc,
|
|
280
|
+
[key]: void 0
|
|
281
|
+
}),
|
|
282
|
+
{}
|
|
283
|
+
)
|
|
281
284
|
}
|
|
282
285
|
};
|
|
283
286
|
case "SET_LOADING":
|
package/dist/index.mjs
CHANGED
|
@@ -223,10 +223,13 @@ function loginStateReducer(state, action) {
|
|
|
223
223
|
// Clear related errors when updating form data
|
|
224
224
|
errors: {
|
|
225
225
|
...state.errors,
|
|
226
|
-
...Object.keys(action.payload).reduce(
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
226
|
+
...Object.keys(action.payload).reduce(
|
|
227
|
+
(acc, key) => ({
|
|
228
|
+
...acc,
|
|
229
|
+
[key]: void 0
|
|
230
|
+
}),
|
|
231
|
+
{}
|
|
232
|
+
)
|
|
230
233
|
}
|
|
231
234
|
};
|
|
232
235
|
case "SET_LOADING":
|