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 ? (
-
+
) : (