kaori před 4 roky
rodič
revize
8d806730ee

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

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