fix(client): adjust error message (#3108)

This commit is contained in:
Junyi 2023-11-29 09:38:24 +08:00 committed by GitHub
parent bd6fbcd319
commit f62134a4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ export function useCollectValuesToSubmit() {
if (process.env.NODE_ENV !== 'production') {
if (!collectionField) {
throw new Error(`useCreateActionProps: field "${key}" not found in collection "${name}"`);
throw new Error(`field "${key}" not found in collection "${name}"`);
}
}