Skip to content

Commit

Permalink
fix: invalid import issues (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
juzhiyuan authored May 17, 2021
1 parent e599dc2 commit 4174435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/components/Plugin/UI/cors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import React from 'react';
import type { FormInstance } from 'antd/es/form';
import { Button, Col, Form, Input, InputNumber, Row, Select, Switch } from 'antd';
import { MinusCircleOutlined, PlusOutlined } from '@ant-design/icons';
import { useIntl } from '@/.umi/plugin-locale/localeExports';
import { useIntl } from 'umi';

type Props = {
form: FormInstance;
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/PluginFlow/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
import { Shape, Dom } from '@antv/x6'
import type { Addon, Graph, Cell } from '@antv/x6'
import { formatMessage } from '@/.umi/plugin-locale/localeExports'
import { formatMessage } from 'umi'

export const DEFAULT_STENCIL_WIDTH = 280
export const DEFAULT_TOOLBAR_HEIGHT = 38
Expand Down

0 comments on commit 4174435

Please sign in to comment.