From 76fc1935b47202663b3283fa166c56ec27e97ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 22 May 2019 16:42:50 +0800 Subject: [PATCH] fix tslint error --- EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js | 4 ++-- EditorFlow/src/index.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js b/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js index 234363d0..e6912793 100644 --- a/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js +++ b/EditorFlow/src/components/EditorItemPanel/FlowItemPanel.js @@ -1,5 +1,5 @@ -import React from 'EditorFlow/node_modules/_@types_react@16.8.18@@types/react'; -import { Card } from 'EditorFlow/node_modules/_antd@3.18.2@antd/lib'; +import React from 'react'; +import { Card } from 'antd'; import { ItemPanel, Item } from 'gg-editor'; import styles from './index.less'; diff --git a/EditorFlow/src/index.tsx b/EditorFlow/src/index.tsx index a323ffdf..d8dec88a 100644 --- a/EditorFlow/src/index.tsx +++ b/EditorFlow/src/index.tsx @@ -1,5 +1,5 @@ -import React from 'EditorFlow/node_modules/_@types_react@16.8.18@@types/react'; -import { Row, Col } from 'EditorFlow/node_modules/_antd@3.18.2@antd/lib'; +import React from 'react'; +import { Row, Col } from 'antd'; import GGEditor, { Flow } from 'gg-editor'; import EditorMinimap from './components/EditorMinimap'; import { FlowContextMenu } from './components/EditorContextMenu'; -- GitLab