fix(client): adjust error message (#3108)
This commit is contained in:
parent
bd6fbcd319
commit
f62134a4ed
@ -129,7 +129,7 @@ export function useCollectValuesToSubmit() {
|
|||||||
|
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
if (!collectionField) {
|
if (!collectionField) {
|
||||||
throw new Error(`useCreateActionProps: field "${key}" not found in collection "${name}"`);
|
throw new Error(`field "${key}" not found in collection "${name}"`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user