jam411 3 ani în urmă
părinte
comite
c4822d74e8

+ 1 - 1
packages/app/src/client/interfaces/notification.ts

@@ -1,8 +1,8 @@
 import type { NotifyType } from './global-notification';
 
 export type INotificationType = {
-  // Global notification -> has '__t: slack|mail'
   __t: NotifyType | undefined
   _id: string
+  // TOOD: Define the provider type
   provider: any
 }

+ 0 - 1
packages/app/src/components/Admin/Notification/NotificationTypeIcon.tsx

@@ -22,7 +22,6 @@ export const NotificationTypeIcon = (props: NotificationTypeIconProps): JSX.Elem
     // only slack type
   }
 
-  // Global notification
   const elemId = `notification-${type}-${_id}`;
   const className = type === 'mail' ? 'icon-fw fa fa-envelope-o' : 'icon-fw fa fa-hashtag';
   const toolChip = type === 'mail' ? 'Mail' : 'Slack';