From 23c552a2b3189e7039994e6d57be22c91a5f1c7c Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Thu, 15 May 2025 09:01:01 +0200 Subject: [PATCH] Add translation --- src/components/Apps/AppInfo.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Apps/AppInfo.tsx b/src/components/Apps/AppInfo.tsx index abca186..adf9c15 100644 --- a/src/components/Apps/AppInfo.tsx +++ b/src/components/Apps/AppInfo.tsx @@ -27,8 +27,8 @@ import { sortablePinnedAppsAtom, } from '../../atoms/global'; import { saveToLocalStorage } from './AppsNavBarDesktop'; - import { useAtom, useSetAtom } from 'jotai'; +import { useTranslation } from 'react-i18next'; export const AppInfo = ({ app, myName }) => { const isInstalled = app?.status?.status === 'READY'; @@ -37,6 +37,7 @@ export const AppInfo = ({ app, myName }) => { ); const theme = useTheme(); + const { t } = useTranslation(['core', 'auth', 'group']); const isSelectedAppPinned = !!sortablePinnedApps?.find( (item) => item?.name === app?.name && item?.service === app?.service