소스 검색

rename method

kaori 4 년 전
부모
커밋
8a673ac1bb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/app/src/components/InAppNotification/InAppNotificationPage.tsx

+ 2 - 2
packages/app/src/components/InAppNotification/InAppNotificationPage.tsx

@@ -24,7 +24,7 @@ const InAppNotificationPageBody: FC<Props> = (props) => {
 
 
   // commonize notification lists by 81953
-  const AllInAppNotificationList = () => {
+  const InAppNotificationCategory = () => {
     const [activePage, setActivePage] = useState(1);
     const offset = (activePage - 1) * limit;
     const { data: notificationData } = useSWRxInAppNotifications(limit, offset);
@@ -115,7 +115,7 @@ const InAppNotificationPageBody: FC<Props> = (props) => {
   const navTabMapping = {
     user_infomation: {
       Icon: () => <></>,
-      Content: AllInAppNotificationList,
+      Content: () => InAppNotificationCategory,
       i18n: t('in_app_notification.all'),
       index: 0,
     },