Shun Miyazawa 4 lat temu
rodzic
commit
85ddc76da0

+ 5 - 0
packages/app/src/components/InAppNotification/InAppNotification.tsx

@@ -54,6 +54,11 @@ export const InAppNotification = (props: Props): JSX.Element => {
 
   const renderInAppNotificationContent = (): JSX.Element => {
     switch (componentName) {
+      // TODO Is the naming of componentName too subtle?
+      case 'Page:UPDATE':
+        return <></>;
+      case 'Page:COMMENT_CREATE':
+        return <></>;
       case 'Page:COMMENT_UPDATE':
         return <PageCommentNotification {...propsNew} onClick={props.onClick(props.notification)} />;
       default: