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


##########
airflow/www/static/js/grid/api/useGridData.js:
##########
@@ -67,9 +64,14 @@ const useGridData = () => {
   }, {
     // only refetch if the refresh switch is on
     refetchInterval: isRefreshOn && autoRefreshInterval * 1000,
-    initialData,
-    placeholderData: emptyData,
   });
+
+  // Placeholder object that is not use on refetch, but only
+  // for the initial load.
+  if (!isSuccess) {

Review Comment:
   Why did you make this change?



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