Skip to content

Commit

Permalink
fix: 修复ci问题
Browse files Browse the repository at this point in the history
  • Loading branch information
syb01094648 committed Oct 25, 2023
1 parent ccec0b8 commit 6e38597
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Tooltip, message } from 'antd';
import classNames from 'classnames';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { IconFont } from '../../../constants';
import { useGlobal } from '../../../recoil';
import useStyle from './styles';

Expand Down Expand Up @@ -35,7 +36,7 @@ const SaveMapOptionsControl: React.FC = () => {
onClick={onSave}
type="button"
>
<i className="iconfont icon-ditu l7-iconfont" />
<IconFont type="icon-ditu " />
</button>
</Tooltip>
</CustomControl>
Expand Down
2 changes: 2 additions & 0 deletions src/constants/iconfont.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ interface IconFontProps {
type: string;
className?: string;
style?: CSSProperties;
id?: string;
}

export const IconFont: React.FC<IconFontProps> = (props) => {
return (
<span
id={props.id}
role="img"
style={props.style}
className={classNames(['anticon', props.className])}
Expand Down

0 comments on commit 6e38597

Please sign in to comment.