Skip to content

Commit

Permalink
chore: change menu icon in site
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed May 7, 2022
1 parent 1719748 commit 9a59018
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions site/theme/template/Layout/Header/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import classNames from 'classnames';
import { FormattedMessage } from 'react-intl';
import { Link } from 'bisheng/router';
import { UnorderedListOutlined } from '@ant-design/icons';
import { MenuOutlined } from '@ant-design/icons';
import { Menu } from 'antd';
import { getEcosystemGroup } from './More';
import * as utils from '../../utils';
Expand Down Expand Up @@ -63,7 +63,7 @@ export default ({
additional = additionalItems;
} else if (responsive === 'crowded') {
additional = (
<Menu.SubMenu key="additional" title={<UnorderedListOutlined />}>
<Menu.SubMenu key="additional" title={<MenuOutlined />}>
{additionalItems}
</Menu.SubMenu>
);
Expand Down
4 changes: 2 additions & 2 deletions site/theme/template/Layout/Header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { FormattedMessage, injectIntl } from 'react-intl';
import classNames from 'classnames';
import { UnorderedListOutlined } from '@ant-design/icons';
import { MenuOutlined } from '@ant-design/icons';
import { Select, Row, Col, Popover, Button } from 'antd';
import canUseDom from 'rc-util/lib/Dom/canUseDom';
import * as utils from '../../utils';
Expand Down Expand Up @@ -341,7 +341,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
arrowPointAtCenter
onVisibleChange={this.onMenuVisibleChange}
>
<UnorderedListOutlined className="nav-phone-icon" onClick={this.handleShowMenu} />
<MenuOutlined className="nav-phone-icon" onClick={this.handleShowMenu} />
</Popover>
)}
<Row style={{ flexFlow: 'nowrap', height: 64 }}>
Expand Down

0 comments on commit 9a59018

Please sign in to comment.