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