We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c551259 commit bc86f24Copy full SHA for bc86f24
1 file changed
packages/ra-core/src/form/FilterLiveForm.tsx
@@ -2,7 +2,6 @@ import * as React from 'react';
2
import isEqual from 'lodash/isEqual';
3
import cloneDeep from 'lodash/cloneDeep';
4
import get from 'lodash/get';
5
-import isArray from 'lodash/isArray';
6
import mergeWith from 'lodash/mergeWith';
7
import set from 'lodash/set';
8
import { ReactNode, useEffect } from 'react';
@@ -173,7 +172,7 @@ export interface FilterLiveFormProps
173
172
174
// Lodash merge customizer to merge objects but not arrays
175
const mergeCustomizer = (objValue: any, srcValue: any) => {
176
- if (isArray(srcValue)) {
+ if (Array.isArray(srcValue)) {
177
return srcValue;
178
}
179
};
0 commit comments