Przeglądaj źródła

remove arrow func

kaori 4 lat temu
rodzic
commit
554599e63d

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

@@ -92,7 +92,7 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
         {renderActionUserPictures()}
       </div>
       <div className="p-2">
-        <div onClick={() => notificationClickHandler()}>
+        <div onClick={notificationClickHandler}>
           <div>
             <b>{actionUsers}</b> {actionMsg} <PagePathLabel page={pagePath} />
           </div>