diff --git a/packages/core/client/src/schema-settings/SchemaSettings.tsx b/packages/core/client/src/schema-settings/SchemaSettings.tsx index f8231da19..b7174682f 100644 --- a/packages/core/client/src/schema-settings/SchemaSettings.tsx +++ b/packages/core/client/src/schema-settings/SchemaSettings.tsx @@ -1358,7 +1358,7 @@ export const SchemaSettingsDataTemplates = function DataTemplates(props) { ); }; -export const SchemaSettingsEnableChildCollections = function EnableChildCollectionsItem(props) { +export function SchemaSettingsEnableChildCollections(props) { const { collectionName } = props; const fieldSchema = useFieldSchema(); const field = useField(); @@ -1443,7 +1443,7 @@ export const SchemaSettingsEnableChildCollections = function EnableChildCollecti }} /> ); -}; +} export const defaultInputStyle = css` & > .nb-form-item {