kaori 4 lat temu
rodzic
commit
8a673ac1bb

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

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