kaori 4 lat temu
rodzic
commit
6296492a86

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

@@ -62,7 +62,7 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
     );
     );
   };
   };
 
 
-  const notificationClickHandler = async(notification: IInAppNotification) => {
+  const notificationClickHandler = async() => {
 
 
     try {
     try {
       // set notification status "STATUS_OPEND"
       // set notification status "STATUS_OPEND"
@@ -101,7 +101,7 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
           {renderUserPicture()}
           {renderUserPicture()}
         </div>
         </div>
         <div className="p-2">
         <div className="p-2">
-          <div onClick={() => notificationClickHandler(notification)}>
+          <div onClick={() => notificationClickHandler()}>
             <div>
             <div>
               <b>{actionUsers}</b> {actionMsg} <PagePathLabel page={pagePath} />
               <b>{actionUsers}</b> {actionMsg} <PagePathLabel page={pagePath} />
             </div>
             </div>