From bf00188f6833988ca469c9bfb8a0dc90594a408c Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Fri, 3 Jun 2022 22:33:27 +0800 Subject: [PATCH] Update index.tsx --- .../src/theme/Footer/Logo/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/Footer/Logo/index.tsx b/packages/docusaurus-theme-classic/src/theme/Footer/Logo/index.tsx index 5c6cd813541d..bb7b487c2d33 100644 --- a/packages/docusaurus-theme-classic/src/theme/Footer/Logo/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Footer/Logo/index.tsx @@ -31,12 +31,8 @@ function LogoImage({logo}: Props) { } export default function FooterLogo({logo}: Props): JSX.Element { - let logoLinkProps = {}; - if (logo.target) { - logoLinkProps = {target: logo.target}; - } return logo.href ? ( - + ) : (