fix(client): import declaration conflicts with local declaration of 'DeletedField'

This commit is contained in:
chenos 2023-05-15 11:06:31 +08:00
parent 975b7dfe93
commit 83749ccd53

View File

@ -72,12 +72,6 @@ const InternalField: React.FC = (props) => {
return React.createElement(component, props, props.children);
};
// 当字段被删除时,显示一个提示占位符
const DeletedField = () => {
const { t } = useTranslation();
return <div style={{ color: '#ccc' }}>{t('The field has bee deleted')}</div>;
};
const CollectionField = connect((props) => {
const fieldSchema = useFieldSchema();
return (