kaori 4 лет назад
Родитель
Сommit
830aadab7e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/src/components/InAppNotification/InAppNotification.tsx

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

@@ -35,7 +35,7 @@ export const InAppNotification = (props: Props): JSX.Element => {
     return actionedUsers;
     return actionedUsers;
   };
   };
 
 
-  const getUserImage = () => {
+  const renderUserImage = () => {
     const actionUsers = notification.actionUsers;
     const actionUsers = notification.actionUsers;
 
 
     if (actionUsers.length < 1) {
     if (actionUsers.length < 1) {
@@ -56,7 +56,7 @@ export const InAppNotification = (props: Props): JSX.Element => {
     case 'Page:COMMENT':
     case 'Page:COMMENT':
       return (
       return (
         <>
         <>
-          {getUserImage()}
+          {renderUserImage()}
           <PageCommentNotification {...propsNew} onClick={props.onClick(props.notification)} />
           <PageCommentNotification {...propsNew} onClick={props.onClick(props.notification)} />
         </>
         </>