diff --git a/packages/client/src/schema-component/antd/action/demos/demo1.tsx b/packages/client/src/schema-component/antd/action/demos/demo1.tsx index 253835c01..ad3aa1f81 100644 --- a/packages/client/src/schema-component/antd/action/demos/demo1.tsx +++ b/packages/client/src/schema-component/antd/action/demos/demo1.tsx @@ -2,7 +2,6 @@ import React from 'react'; import { observer, ISchema, useForm } from '@formily/react'; import { SchemaComponent, SchemaComponentProvider, Form, Action, useActionVisible } from '@nocobase/client'; import { FormItem, Input } from '@formily/antd'; -import 'antd/dist/antd.css'; const useCloseAction = () => { const { setVisible } = useActionVisible(); diff --git a/packages/client/src/schema-component/antd/form/demos/demo1.tsx b/packages/client/src/schema-component/antd/form/demos/demo1.tsx index ee65ba2df..95d6ec921 100644 --- a/packages/client/src/schema-component/antd/form/demos/demo1.tsx +++ b/packages/client/src/schema-component/antd/form/demos/demo1.tsx @@ -2,7 +2,6 @@ import React from 'react'; import { observer, ISchema } from '@formily/react'; import { SchemaComponent, SchemaComponentProvider, Form, Action, useCloseAction } from '@nocobase/client'; import { FormItem, Input } from '@formily/antd'; -import 'antd/dist/antd.css'; export default observer(() => { const schema: ISchema = { diff --git a/packages/client/src/schema-component/antd/form/demos/demo2.tsx b/packages/client/src/schema-component/antd/form/demos/demo2.tsx index ede69eacf..8baa9e805 100644 --- a/packages/client/src/schema-component/antd/form/demos/demo2.tsx +++ b/packages/client/src/schema-component/antd/form/demos/demo2.tsx @@ -1,7 +1,6 @@ import React from 'react'; import { observer, ISchema, useForm } from '@formily/react'; import { SchemaComponent, SchemaComponentProvider, Form, Action } from '@nocobase/client'; -import 'antd/dist/antd.css'; import { FormItem, Input } from '@formily/antd'; export default observer(() => {