This is an automated email from the ASF dual-hosted git repository.

Lee-W pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 69c798a4f7a Fix failing main for ESlint error (#69684)
69c798a4f7a is described below

commit 69c798a4f7a1b88c3cec1626d958e55094e9e049
Author: Wei Lee <[email protected]>
AuthorDate: Fri Jul 10 11:08:35 2026 +0800

    Fix failing main for ESlint error (#69684)
---
 .../airflow/ui/src/components/SearchDags/SearchDags.tsx    | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/airflow-core/src/airflow/ui/src/components/SearchDags/SearchDags.tsx 
b/airflow-core/src/airflow/ui/src/components/SearchDags/SearchDags.tsx
index 56f7a1a8550..d85a6a5746c 100644
--- a/airflow-core/src/airflow/ui/src/components/SearchDags/SearchDags.tsx
+++ b/airflow-core/src/airflow/ui/src/components/SearchDags/SearchDags.tsx
@@ -36,6 +36,13 @@ import type { DagSearchOption } from "src/utils/option";
 
 import { DropdownIndicator } from "./SearchDagsDropdownIndicator";
 
+const formatOptionLabel = (option: DagSearchOption) => (
+  <Flex alignItems="center" gap={2}>
+    <StateBadge state={option.state} />
+    <Text>{option.label}</Text>
+  </Flex>
+);
+
 export const SearchDags = ({
   setIsOpen,
 }: {
@@ -85,13 +92,6 @@ export const SearchDags = ({
     300,
   );
 
-  const formatOptionLabel = (option: DagSearchOption) => (
-    <Flex alignItems="center" gap={2}>
-      <StateBadge state={option.state} />
-      <Text>{option.label}</Text>
-    </Flex>
-  );
-
   return (
     <Field.Root>
       <AsyncSelect

Reply via email to