From f62134a4ed0aff333f91afcf3bcee652885e255d Mon Sep 17 00:00:00 2001 From: Junyi Date: Wed, 29 Nov 2023 09:38:24 +0800 Subject: [PATCH] fix(client): adjust error message (#3108) --- packages/core/client/src/block-provider/hooks/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/block-provider/hooks/index.ts b/packages/core/client/src/block-provider/hooks/index.ts index 208de1b7a7..066d1c1638 100644 --- a/packages/core/client/src/block-provider/hooks/index.ts +++ b/packages/core/client/src/block-provider/hooks/index.ts @@ -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}"`); } }