From b37047361ac90250eecf7347affa154348894b88 Mon Sep 17 00:00:00 2001 From: Amy Date: Sat, 28 Aug 2021 22:51:43 -0400 Subject: [PATCH] Remove unnecessary code --- components/Navbar.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 68d3db25..95ec7b36 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -201,11 +201,9 @@ function reducer(state: MobileState, action: MobileAction): MobileState { interface NavItemProps { name: string; route: string; - hasSubsections?: boolean; submenu?: { name: string; route: string; - hasSubsections?: boolean; }[]; mainRouteActive: boolean; onToggle(route: string): void; @@ -276,7 +274,6 @@ function NavItem(props: NavItemProps) { props.onClose()} onToggle={(route) => props.onToggle(route)}