pierrejeambrun commented on code in PR #54994:
URL: https://github.com/apache/airflow/pull/54994#discussion_r2322267793


##########
providers/edge3/src/airflow/providers/edge3/plugins/www/src/pages/JobsPage.tsx:
##########
@@ -22,12 +22,17 @@ import { useUiServiceJobs } from "openapi/queries";
 import { ErrorAlert } from "src/components/ErrorAlert";
 
 export const JobsPage = () => {
-  const { data, error } = useUiServiceJobs();
+  // Note: might use this in future but core-ui-API is not yet bound:
+  // const autoRefreshInterval = useConfig("auto_refresh_interval") as number 
| undefined;

Review Comment:
   You can check the doc to see how simple it is to use:
   https://tanstack.com/query/v4/docs/framework/react/overview



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