kaori 3 лет назад
Родитель
Сommit
9deba62747
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/Admin/Common/AdminNavigation.jsx

+ 1 - 1
packages/app/src/components/Admin/Common/AdminNavigation.jsx

@@ -11,7 +11,7 @@ import AppContainer from '~/client/services/AppContainer';
 import { withUnstatedContainers } from '../../UnstatedUtils';
 import { withUnstatedContainers } from '../../UnstatedUtils';
 
 
 const AdminNavigation = (props) => {
 const AdminNavigation = (props) => {
-  const { t } = useTranslation;
+  const { t } = useTranslation();
   const { appContainer } = props;
   const { appContainer } = props;
   const pathname = window.location.pathname;
   const pathname = window.location.pathname;