瀏覽代碼

rename method

kaori 4 年之前
父節點
當前提交
57597dc5d5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/app/src/components/InAppNotification/InAppNotificationPage.tsx

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

@@ -47,7 +47,7 @@ const InAppNotificationPage: FC = () => {
     );
   };
 
-  const UnReadInAppNotificationList = () => {
+  const UnopenedInAppNotificationList = () => {
     return (
       <>
         <div className="mb-2 d-flex justify-content-end">
@@ -84,7 +84,7 @@ const InAppNotificationPage: FC = () => {
     // TODO: show unopend notification list by 81945
     external_accounts: {
       Icon: () => <></>,
-      Content: UnReadInAppNotificationList,
+      Content: UnopenedInAppNotificationList,
       i18n: t('in_app_notification.unopend'),
       index: 1,
     },