From 3209752b7c3b4e182f5927ee0d137137f255fcd6 Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Fri, 11 Oct 2024 11:03:10 -0300 Subject: [PATCH] fix --- .../actions/NavbarAdministrationAction.tsx | 33 ------------------- apps/meteor/client/navbar/index.ts | 2 +- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 apps/meteor/client/navbar/actions/NavbarAdministrationAction.tsx diff --git a/apps/meteor/client/navbar/actions/NavbarAdministrationAction.tsx b/apps/meteor/client/navbar/actions/NavbarAdministrationAction.tsx deleted file mode 100644 index c0aed1c61c67..000000000000 --- a/apps/meteor/client/navbar/actions/NavbarAdministrationAction.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { GenericMenu, useHandleMenuAction } from '@rocket.chat/ui-client'; -import { useTranslation, useRouter } from '@rocket.chat/ui-contexts'; -import type { AllHTMLAttributes } from 'react'; -import React from 'react'; - -import { useAdministrationMenu } from '../NavBarSettingsToolbar/hooks/useAdministrationMenu'; -import { NavbarAction } from '../../components/Navbar'; - -const NavbarAdministrationAction = (props: AllHTMLAttributes) => { - const t = useTranslation(); - - const administrationItems = useAdministrationMenu(); - - const handleAction = useHandleMenuAction(administrationItems); - - const router = useRouter(); - - return ( - - - - ); -}; - -export default NavbarAdministrationAction; diff --git a/apps/meteor/client/navbar/index.ts b/apps/meteor/client/navbar/index.ts index 902ee590de66..86d1b79b3ea2 100644 --- a/apps/meteor/client/navbar/index.ts +++ b/apps/meteor/client/navbar/index.ts @@ -1 +1 @@ -export { default } from './NavBar'; +export { default } from './Navbar';