mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
test: fix lint
This commit is contained in:
parent
b75bfd071d
commit
2ae15a6de2
@ -1,18 +1,15 @@
|
||||
import * as React from 'react';
|
||||
import { Button, Popover } from 'antd';
|
||||
import { Button } from 'antd';
|
||||
import { Link } from 'bisheng/router';
|
||||
import { FormattedMessage, useIntl } from 'react-intl';
|
||||
import { PlayCircleFilled } from '@ant-design/icons';
|
||||
import Background from './Background';
|
||||
import { getLocalizedPathname } from '../../utils';
|
||||
import Logo from './Logo';
|
||||
|
||||
import './index.less';
|
||||
import SiteContext from '../../Layout/SiteContext';
|
||||
|
||||
const Banner = (props: { location: any }) => {
|
||||
const { location } = props;
|
||||
const { isMobile } = React.useContext(SiteContext);
|
||||
const { locale } = useIntl();
|
||||
const isZhCN = locale === 'zh-CN';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user