From f3e39f6f057c4286b2c6f850fd4d67c11bc83a5c Mon Sep 17 00:00:00 2001 From: Junyi Date: Tue, 30 Apr 2024 21:58:34 +0800 Subject: [PATCH] fix(client): fix error log in variable component (#4248) --- .../core/client/src/schema-component/antd/variable/TextArea.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx index cc66ca1d7b..d5a663de16 100644 --- a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx +++ b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx @@ -225,7 +225,7 @@ export function TextArea(props) { .then((preloaded) => { setOptions(preloaded); }) - .catch((err) => console.error); + .catch(console.error); }, [scope, value]); useEffect(() => {