bbovenzi commented on code in PR #38021: URL: https://github.com/apache/airflow/pull/38021#discussion_r1520142186
########## airflow/www/static/js/dag/details/taskInstance/Logs/LogBlock.tsx: ########## @@ -59,10 +67,43 @@ const LogBlock = ({ parsedLogs, wrap, tryNumber }: Props) => { } }; + const onClick = (e: React.MouseEvent<HTMLElement>) => { + const target = e.target as HTMLElement; Review Comment: ```suggestion const onClick = ({ currentTarget }: React.MouseEvent<HTMLSpanElement>) => { const target = currentTarget; ``` We can get rid of some `as` castings -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org