From 83749ccd53a837a9014fae976a367e7a66325380 Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 15 May 2023 11:06:31 +0800 Subject: [PATCH] fix(client): import declaration conflicts with local declaration of 'DeletedField' --- .../components/assigned-field/AssignedField.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/core/client/src/schema-initializer/components/assigned-field/AssignedField.tsx b/packages/core/client/src/schema-initializer/components/assigned-field/AssignedField.tsx index ad23191c7..40011eba4 100644 --- a/packages/core/client/src/schema-initializer/components/assigned-field/AssignedField.tsx +++ b/packages/core/client/src/schema-initializer/components/assigned-field/AssignedField.tsx @@ -72,12 +72,6 @@ const InternalField: React.FC = (props) => { return React.createElement(component, props, props.children); }; -// 当字段被删除时,显示一个提示占位符 -const DeletedField = () => { - const { t } = useTranslation(); - return
{t('The field has bee deleted')}
; -}; - const CollectionField = connect((props) => { const fieldSchema = useFieldSchema(); return (