From ae8d1a47b094cacad2cc41f23b0d4de9fd4faeb2 Mon Sep 17 00:00:00 2001 From: sealday Date: Tue, 12 Mar 2024 20:03:34 +0800 Subject: [PATCH] fix: undefined promises throw error --- .../plugin-core/src/client/schema-components/GroupBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@hera/plugin-core/src/client/schema-components/GroupBlock.tsx b/packages/plugins/@hera/plugin-core/src/client/schema-components/GroupBlock.tsx index b525e1c98..168573b22 100644 --- a/packages/plugins/@hera/plugin-core/src/client/schema-components/GroupBlock.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/schema-components/GroupBlock.tsx @@ -51,7 +51,7 @@ export const GroupBlock = (props) => { }), requeatItem, ]; - }), + }) ?? [], ), ); }, [Blocks, service.params, service.params[0]]);