From d2d8bb6e18b1f8e3d60bf7024048f2091b9dda33 Mon Sep 17 00:00:00 2001 From: chenos Date: Sat, 30 Apr 2022 23:28:48 +0800 Subject: [PATCH] fix: props for CreateFormBlockInitializers --- .../buttons/CreateFormBlockInitializers.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-initializer/buttons/CreateFormBlockInitializers.tsx b/packages/core/client/src/schema-initializer/buttons/CreateFormBlockInitializers.tsx index 96264da06..725ea2392 100644 --- a/packages/core/client/src/schema-initializer/buttons/CreateFormBlockInitializers.tsx +++ b/packages/core/client/src/schema-initializer/buttons/CreateFormBlockInitializers.tsx @@ -5,11 +5,14 @@ import { gridRowColWrap } from '../utils'; export const CreateFormBlockInitializers = (props: any) => { const { t } = useTranslation(); + const { insertPosition, component } = props; return (