|
@@ -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,
|
|
|
},
|
|
},
|