Skip to content

Commit

Permalink
test: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jan 18, 2022
1 parent b75bfd0 commit 2ae15a6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions site/theme/template/Home/Banner/index.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

0 comments on commit 2ae15a6

Please sign in to comment.