diff --git a/packages/apps/esm-help-menu-app/src/help-menu/help.component.tsx b/packages/apps/esm-help-menu-app/src/help-menu/help.component.tsx index 6628ea3e3..06927d872 100644 --- a/packages/apps/esm-help-menu-app/src/help-menu/help.component.tsx +++ b/packages/apps/esm-help-menu-app/src/help-menu/help.component.tsx @@ -1,11 +1,13 @@ import React, { useState, useEffect, useRef } from 'react'; -import classNames from 'classnames'; +import { useTranslation } from 'react-i18next'; +import { IconButton } from '@carbon/react'; import { Help } from '@carbon/react/icons'; -import { useSession } from '@openmrs/esm-framework' +import { useSession } from '@openmrs/esm-framework'; import HelpMenuPopup from './help-popup.component'; import styles from './help.styles.scss'; export default function HelpMenu() { + const { t } = useTranslation(); const { user } = useSession(); const [helpMenuOpen, setHelpMenuOpen] = useState(false); const helpMenuButtonRef = useRef(null); @@ -38,15 +40,19 @@ export default function HelpMenu() { return ( <> {user && ( - + )} {helpMenuOpen && (