|
|
@@ -23,19 +23,6 @@ const InAppNotificationList: FC<Props> = (props: Props) => {
|
|
|
|
|
|
const notifications = inAppNotificationData.docs;
|
|
|
|
|
|
- // const notificationClickHandler = async(notification: IInAppNotification) => {
|
|
|
- // console.log('notificationClickHandler');
|
|
|
-
|
|
|
- // try {
|
|
|
- // // await this.props.crowi.apiPost('/notification.open', { id: notification._id });
|
|
|
- // // jump to target page
|
|
|
- // // window.location.href = notification.target.path;
|
|
|
- // }
|
|
|
- // catch (err) {
|
|
|
- // // logger.error(err);
|
|
|
- // }
|
|
|
- // };
|
|
|
-
|
|
|
const RenderEmptyInAppNotification = (): JSX.Element => {
|
|
|
return (
|
|
|
// TODO: apply i18n by #78569
|