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

+ 0 - 1
packages/app/src/components/InAppNotification/InAppNotificationDropdown.tsx

@@ -14,7 +14,6 @@ import { useSWRxInAppNotifications } from '../../stores/in-app-notification';
 const logger = loggerFactory('growi:InAppNotificationDropdown');
 
 type Props = {
-
   socketIoContainer: SocketIoContainer,
 };
 

+ 1 - 1
packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

@@ -63,7 +63,7 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
   const notificationClickHandler = async() => {
 
     try {
-      // set notification status "STATUS_OPEND"
+      // set notification status "OPEND"
       await apiv3Post('/in-app-notification/open', { id: notification._id });
 
       // jump to target page

+ 0 - 1
packages/app/src/server/service/in-app-notification.ts

@@ -4,7 +4,6 @@ import Crowi from '../crowi';
 import {
   InAppNotification, InAppNotificationDocument, STATUS_UNREAD, STATUS_UNOPENED, STATUS_OPENED,
 } from '~/server/models/in-app-notification';
-
 import { ActivityDocument } from '~/server/models/activity';
 
 import { IUser } from '~/interfaces/user';