Skip to content

Commit 6ce652c

Browse files
Merge branch 'reference-array-field-bug-fix' of github.com:shreyas-jadhav/react-admin into reference-array-field-bug-fix
2 parents 8946601 + 744a946 commit 6ce652c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-core/src/controller/field/useReferenceArrayFieldController.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const useReferenceArrayFieldController = (
6161
const ids = useMemo(() => {
6262
if (Array.isArray(value)) return value;
6363
console.warn(
64-
`Value of field '${source}' is not an Array type. No records will be matched.`
64+
`Value of field '${source}' is not an array.`
6565
);
6666
return emptyArray;
6767
}, [value]);

0 commit comments

Comments
 (0)