From 2a05d0b663a2283b49ca5a26e670c69bee826863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Fri, 29 Apr 2022 11:10:25 +0200 Subject: [PATCH] Update packages/docusaurus-theme-classic/src/theme/NavbarItem/index.tsx Co-authored-by: Joshua Chen --- .../docusaurus-theme-classic/src/theme/NavbarItem/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/NavbarItem/index.tsx b/packages/docusaurus-theme-classic/src/theme/NavbarItem/index.tsx index d8e109fa48d5..7ae0d4990730 100644 --- a/packages/docusaurus-theme-classic/src/theme/NavbarItem/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/NavbarItem/index.tsx @@ -34,6 +34,5 @@ export default function NavbarItem({type, ...props}: Props): JSX.Element { (props as DropdownNavbarItemProps).items !== undefined, ); const NavbarItemComponent = getNavbarItemComponent(componentType); - // @ts-expect-error: how to type this? - return ; + return ; }