kaori 4 лет назад
Родитель
Сommit
9cecae6ee9

+ 2 - 2
packages/app/src/client/app.jsx

@@ -8,7 +8,7 @@ import { SWRConfig } from 'swr';
 import loggerFactory from '~/utils/logger';
 import { swrGlobalConfiguration } from '~/utils/swr-utils';
 
-import AllInAppNotifications from '../components/InAppNotification/AllInAppNotifications';
+import InAppNotificationPage from '../components/InAppNotification/InAppNotificationPage';
 import ErrorBoundary from '../components/ErrorBoudary';
 import Sidebar from '../components/Sidebar';
 import SearchPage from '../components/SearchPage';
@@ -87,7 +87,7 @@ Object.assign(componentMappings, {
   'grw-sidebar-wrapper': <Sidebar />,
 
   'search-page': <SearchPage crowi={appContainer} />,
-  'all-in-app-notifications': <AllInAppNotifications />,
+  'all-in-app-notifications': <InAppNotificationPage />,
 
   // 'revision-history': <PageHistory pageId={pageId} />,
   'tags-page': <TagsList crowi={appContainer} />,

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

@@ -9,7 +9,7 @@ import CustomNavAndContents from '../CustomNavigation/CustomNavAndContents';
 import PasswordSettings from '../Me/PasswordSettings';
 
 
-const AllInAppNotifications: FC = () => {
+const InAppNotificationPage: FC = () => {
   const [activePage, setActivePage] = useState(1);
   const [offset, setOffset] = useState(0);
   const limit = 10;
@@ -69,4 +69,4 @@ const AllInAppNotifications: FC = () => {
   );
 };
 
-export default AllInAppNotifications;
+export default InAppNotificationPage;