소스 검색

rename vaiable

kaori 4 년 전
부모
커밋
e776d209c1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

+ 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;