mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 14:26:36 +00:00
fix(client): import declaration conflicts with local declaration of 'DeletedField'
This commit is contained in:
parent
975b7dfe93
commit
83749ccd53
@ -72,12 +72,6 @@ const InternalField: React.FC = (props) => {
|
|||||||
return React.createElement(component, props, props.children);
|
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 CollectionField = connect((props) => {
|
||||||
const fieldSchema = useFieldSchema();
|
const fieldSchema = useFieldSchema();
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user