From 2caec7a2717941abb6b9bb1fe092255fea92ed74 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 22 Feb 2022 18:35:12 +0800 Subject: [PATCH] fix: Error: src/schema-component/antd/array-table/TableRecordActionDesigner.tsx(3,38): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations. --- .../antd/array-table/TableRecordActionDesigner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/schema-component/antd/array-table/TableRecordActionDesigner.tsx b/packages/client/src/schema-component/antd/array-table/TableRecordActionDesigner.tsx index 78b086a7d..00e8e46cf 100644 --- a/packages/client/src/schema-component/antd/array-table/TableRecordActionDesigner.tsx +++ b/packages/client/src/schema-component/antd/array-table/TableRecordActionDesigner.tsx @@ -1,9 +1,9 @@ import { DragOutlined } from '@ant-design/icons'; import { useFieldSchema } from '@formily/react'; -import { useSchemaInitializer } from '@nocobase/client'; import { Space } from 'antd'; import React from 'react'; import { DragHandler } from '../../../schema-component'; +import { useSchemaInitializer } from '../../../schema-initializer'; export const TableRecordActionDesigner = (props: any) => { const fieldSchema = useFieldSchema();