소스 검색

clean code

kaori 4 년 전
부모
커밋
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 { 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;