bbovenzi commented on code in PR #23678:
URL: https://github.com/apache/airflow/pull/23678#discussion_r873197382


##########
airflow/www/static/js/grid/utils/useFilters.js:
##########
@@ -44,14 +44,11 @@ const useFilters = () => {
   // it is not send to the api for filtering.
   const taskState = searchParams.get(TASK_STATE_PARAM);
 
-  const makeOnChangeFn = (paramName, formatFn) => (e) => {
-    let { value } = e.target;
-    if (formatFn) {
-      value = formatFn(value);
-    }
+  const makeOnChangeFn = (paramName, formatFn) => (value) => {

Review Comment:
   Yeah, props drilling is appropriate in this case.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to