From eb7780a6ce3bd04e3359f8b525bd85be23826c9a Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Thu, 29 May 2025 13:50:26 +0200 Subject: [PATCH] Add useTranslation --- src/components/Apps/AppsDevModeNavBar.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/Apps/AppsDevModeNavBar.tsx b/src/components/Apps/AppsDevModeNavBar.tsx index 798929b..a720a75 100644 --- a/src/components/Apps/AppsDevModeNavBar.tsx +++ b/src/components/Apps/AppsDevModeNavBar.tsx @@ -16,6 +16,7 @@ import RefreshIcon from '@mui/icons-material/Refresh'; import { navigationControllerAtom } from '../../atoms/global'; import { AppsDevModeTabComponent } from './AppsDevModeTabComponent'; import { useAtom } from 'jotai'; +import { useTranslation } from 'react-i18next'; export const AppsDevModeNavBar = () => { const [tabs, setTabs] = useState([]); @@ -23,6 +24,13 @@ export const AppsDevModeNavBar = () => { const [navigationController, setNavigationController] = useAtom( navigationControllerAtom ); + const { t } = useTranslation([ + 'auth', + 'core', + 'group', + 'question', + 'tutorial', + ]); const theme = useTheme(); const [isNewTabWindow, setIsNewTabWindow] = useState(false); const tabsRef = useRef(null);