From d230035a19f1160770779f933fa7469ab5e14d82 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 12 Jul 2021 13:37:43 +0800 Subject: [PATCH] chore: fix code lint error --- site/theme/template/Layout/Footer.tsx | 1 - site/theme/template/Layout/Header/More.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/site/theme/template/Layout/Footer.tsx b/site/theme/template/Layout/Footer.tsx index d05e52cfa8..bc74686f2c 100644 --- a/site/theme/template/Layout/Footer.tsx +++ b/site/theme/template/Layout/Footer.tsx @@ -15,7 +15,6 @@ import { ProfileOutlined, BugOutlined, IssuesCloseOutlined, - BookOutlined, QuestionCircleOutlined, } from '@ant-design/icons'; import { isLocalStorageNameSupported, loadScript, getLocalizedPathname } from '../utils'; diff --git a/site/theme/template/Layout/Header/More.tsx b/site/theme/template/Layout/Header/More.tsx index b2ba07caa4..b33d23041b 100644 --- a/site/theme/template/Layout/Header/More.tsx +++ b/site/theme/template/Layout/Header/More.tsx @@ -6,7 +6,7 @@ import { SharedProps } from './interface'; const smallStyle = { fontSize: 12, color: '#777', marginLeft: '0.3em' }; -export function getEcosystemGroup({ isZhCN }: SharedProps): React.ReactNode { +export function getEcosystemGroup(): React.ReactNode { return [