Przeglądaj źródła

create the look and feel of a notification when a page is liked

Shun Miyazawa 4 lat temu
rodzic
commit
02ef137c73

+ 4 - 0
packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

@@ -79,6 +79,10 @@ const InAppNotificationElm = (props: Props): JSX.Element | null => {
   let actionIcon: string;
 
   switch (actionType) {
+    case 'PAGE_LIKE':
+      actionMsg = 'likes on';
+      actionIcon = 'icon-like';
+      break;
     case 'PAGE_UPDATE':
       actionMsg = 'updated on';
       actionIcon = 'ti-agenda';