fix: create-nocobase-app + yarn dev error (#3599)

This commit is contained in:
jack zhang 2024-03-04 21:36:22 +08:00 committed by GitHub
parent c1c4d93dce
commit 61c24ac2fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1358,7 +1358,7 @@ export const SchemaSettingsDataTemplates = function DataTemplates(props) {
); );
}; };
export const SchemaSettingsEnableChildCollections = function EnableChildCollectionsItem(props) { export function SchemaSettingsEnableChildCollections(props) {
const { collectionName } = props; const { collectionName } = props;
const fieldSchema = useFieldSchema(); const fieldSchema = useFieldSchema();
const field = useField(); const field = useField();
@ -1443,7 +1443,7 @@ export const SchemaSettingsEnableChildCollections = function EnableChildCollecti
}} }}
/> />
); );
}; }
export const defaultInputStyle = css` export const defaultInputStyle = css`
& > .nb-form-item { & > .nb-form-item {