kaori 4 лет назад
Родитель
Сommit
8d806730ee
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      packages/app/src/components/InAppNotification/InAppNotificationPage.tsx

+ 1 - 4
packages/app/src/components/InAppNotification/InAppNotificationPage.tsx

@@ -18,12 +18,9 @@ type Props = {
 
 
 const InAppNotificationPageBody: FC<Props> = (props) => {
 const InAppNotificationPageBody: FC<Props> = (props) => {
   const { appContainer } = props;
   const { appContainer } = props;
-  const { t } = useTranslation();
-
   const limit = appContainer.config.pageLimitationXL;
   const limit = appContainer.config.pageLimitationXL;
+  const { t } = useTranslation();
 
 
-
-  // commonize notification lists by 81953
   const InAppNotificationCategoryByStatus = (status?: string) => {
   const InAppNotificationCategoryByStatus = (status?: string) => {
     const [activePage, setActivePage] = useState(1);
     const [activePage, setActivePage] = useState(1);
     const offset = (activePage - 1) * limit;
     const offset = (activePage - 1) * limit;