diff --git a/packages/core/client/src/collection-manager/collectionPlugin.ts b/packages/core/client/src/collection-manager/collectionPlugin.ts index 270393cf9d..8d71266aaa 100644 --- a/packages/core/client/src/collection-manager/collectionPlugin.ts +++ b/packages/core/client/src/collection-manager/collectionPlugin.ts @@ -52,7 +52,6 @@ import { UUIDFieldInterface, NanoidFieldInterface, UnixTimestampFieldInterface, - DateFieldInterface, } from './interfaces'; import { GeneralCollectionTemplate, @@ -174,7 +173,6 @@ export class CollectionPlugin extends Plugin { UUIDFieldInterface, NanoidFieldInterface, UnixTimestampFieldInterface, - DateFieldInterface, ]); } diff --git a/packages/core/client/src/collection-manager/interfaces/components/index.tsx b/packages/core/client/src/collection-manager/interfaces/components/index.tsx index 2fbd571127..ccb5915a60 100644 --- a/packages/core/client/src/collection-manager/interfaces/components/index.tsx +++ b/packages/core/client/src/collection-manager/interfaces/components/index.tsx @@ -7,8 +7,8 @@ * For more information, please refer to: https://www.nocobase.com/agreement. */ -import { Switch, Radio, Input } from 'antd'; -import React, { useEffect, useState } from 'react'; +import { Switch } from 'antd'; +import React from 'react'; export const TargetKey = () => { return