From feacd5883d1db55ae1c4706d6160cc4af1f60853 Mon Sep 17 00:00:00 2001 From: Afonso Santos Date: Mon, 26 Feb 2024 18:30:04 +0000 Subject: [PATCH] clean the code --- .../Header/MobileNavBar/MobileNavBar.tsx | 44 ------------------- 1 file changed, 44 deletions(-) diff --git a/packages/ui/components/landing/Header/MobileNavBar/MobileNavBar.tsx b/packages/ui/components/landing/Header/MobileNavBar/MobileNavBar.tsx index a8a3e65d..1e05522f 100644 --- a/packages/ui/components/landing/Header/MobileNavBar/MobileNavBar.tsx +++ b/packages/ui/components/landing/Header/MobileNavBar/MobileNavBar.tsx @@ -14,10 +14,8 @@ import { TeamOutlined, MenuOutlined, CloseCircleOutlined, - DownOutlined, } from "@ant-design/icons"; import { ThemeToggle, useAuth, useTheme } from "@coderdojobraga/ui"; -import { ChevronDownIcon } from "@heroicons/react/24/solid"; import { MENU_ENTRIES } from "../config"; import { getUserInitials } from "../utils"; @@ -40,8 +38,6 @@ const events = { // Add more events here if needed }; -const { SubMenu } = Menu; - interface LoginButtonProps { isLoading: boolean; isDark: boolean; @@ -70,25 +66,12 @@ interface MenuDrawerProps { const MenuDrawer = ({ isDrawerVisible, setVisibleDrawer }: MenuDrawerProps) => { const { user, isLoading, logout } = useAuth(); const { isDark } = useTheme(); - const [openKeys, setOpenKeys] = useState([]); - - const handleOpenMenu = (key: string) => { - setOpenKeys([key]); - }; - - const handleCloseMenu = () => { - setOpenKeys([]); - }; const onDrawerLogOut = () => { logout(); setVisibleDrawer(false); }; - const [eventosDropdownVisible, setEventosDropdownVisible] = useState(false); - const handleEventosDropdownVisibleChange = (visible: any) => { - setEventosDropdownVisible(visible); - }; return ( setOpenKeys(keys)} - - > - - - Dojo Con - - - Code Camp - - - - */ -}