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

suddjian pushed a commit to branch api-resource-hooks
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/api-resource-hooks by this 
push:
     new 2f7c986  vestigial comment
2f7c986 is described below

commit 2f7c98650a6d0fedd6d6657fbc8b686e18c4d23a
Author: David Aaron Suddjian <[email protected]>
AuthorDate: Thu Feb 18 03:00:53 2021 -0800

    vestigial comment
---
 superset-frontend/src/common/hooks/apiResources.ts | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/superset-frontend/src/common/hooks/apiResources.ts 
b/superset-frontend/src/common/hooks/apiResources.ts
index e990509..7c493f0 100644
--- a/superset-frontend/src/common/hooks/apiResources.ts
+++ b/superset-frontend/src/common/hooks/apiResources.ts
@@ -108,9 +108,6 @@ export function useApiResourceFullBody<RESULT>(
       endpoint,
     });
 
-    // pass {} to fetchResource, only because makeApi requires it.
-    // we should change makeApi, and then remove that param.
-    // TODO support request cancellation in makeApi
     fetchResource({})
       .then(result => {
         if (!cancelled) {

Reply via email to