bbovenzi commented on code in PR #65948:
URL: https://github.com/apache/airflow/pull/65948#discussion_r3169475830
##########
airflow-core/src/airflow/ui/src/pages/Asset/AssetGraph.tsx:
##########
@@ -20,12 +20,15 @@ import { useToken } from "@chakra-ui/react";
import { ReactFlow, Controls, Background, MiniMap, type Node as ReactFlowNode
} from "@xyflow/react";
import "@xyflow/react/dist/style.css";
import { useParams } from "react-router-dom";
+import { useLocalStorage } from "usehooks-ts";
import type { AssetResponse } from "openapi/requests/types.gen";
+import { type Direction } from "src/components/Graph/DirectionDropdown";
Review Comment:
```suggestion
import type { Direction } from "src/components/Graph/DirectionDropdown";
```
##########
airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.tsx:
##########
@@ -24,10 +24,11 @@ import { useParams } from "react-router-dom";
import { useLocalStorage } from "usehooks-ts";
import { useDagRunServiceGetDagRun, useStructureServiceStructureData } from
"openapi/queries";
+import { type Direction } from "src/components/Graph/DirectionDropdown";
Review Comment:
```suggestion
import type { Direction } from "src/components/Graph/DirectionDropdown";
```
##########
airflow-core/src/airflow/ui/src/components/Graph/useGraphLayout.ts:
##########
@@ -26,10 +25,10 @@ import ELK, { type ElkNode } from "elkjs";
// URL-based worker approaches (?worker, ?worker&inline, new URL()) resolve to
// the Vite origin which browsers reject for Workers.
import ElkWorkerSource from "elkjs/lib/elk-worker.min.js?raw";
-import type { TFunction } from "i18next";
import type { NodeResponse, StructureDataResponse } from
"openapi/requests/types.gen";
+import { type Direction } from "./DirectionDropdown";
Review Comment:
```suggestion
import type { Direction } from "./DirectionDropdown";
```
--
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]