kaori vor 4 Jahren
Ursprung
Commit
e776d209c1

+ 2 - 2
packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

@@ -79,10 +79,10 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
   const actionUsers = getActionUsers();
   const pagePath = { path: props.notification.target.path };
 
-  const action: string = notification.action;
+  const actionType: string = notification.action;
   let actionMsg: string;
 
-  switch (action) {
+  switch (actionType) {
     case 'PAGE_UPDATE':
       actionMsg = 'updated on';
       break;