ryanahamilton commented on code in PR #72350:
URL: https://github.com/apache/airflow/pull/72350#discussion_r3958867896


##########
airflow-core/src/airflow/ui/src/layouts/Details/Grid/DurationTick.tsx:
##########
@@ -18,14 +18,18 @@
  */
 import { Text, type TextProps } from "@chakra-ui/react";
 
-import { renderDuration } from "src/utils";
+import { useDurationFormat } from "src/utils/useDurationFormat";

Review Comment:
   It looks like `src/utils` has a barrel export file that didn't get amended 
for this new util. Would probably be ideal to add it and keep this pattern 
consistent.
   ```suggestion
   import { useDurationFormat } from "src/utils";
   ```



-- 
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