You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yj...@apache.org on 2020/10/29 05:45:01 UTC

[incubator-superset] 18/33: remove consoles

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

yjc pushed a commit to branch home-screen-mvp
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 4ae640e054e9593b4be74a030bc508f4838fc48e
Author: Phillip Kelley-Dotson <pk...@yahoo.com>
AuthorDate: Mon Oct 19 14:40:52 2020 -0700

    remove consoles
---
 .../spec/javascripts/views/CRUD/welcome/EmptyState_spec.tsx            | 1 -
 superset-frontend/src/views/CRUD/hooks.ts                              | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/superset-frontend/spec/javascripts/views/CRUD/welcome/EmptyState_spec.tsx b/superset-frontend/spec/javascripts/views/CRUD/welcome/EmptyState_spec.tsx
index b6e5175..b4eb6d1 100644
--- a/superset-frontend/spec/javascripts/views/CRUD/welcome/EmptyState_spec.tsx
+++ b/superset-frontend/spec/javascripts/views/CRUD/welcome/EmptyState_spec.tsx
@@ -31,6 +31,5 @@ describe('EmptyState', () => {
     };
     const wrapper = mount(<EmptyState {...props} />);
     expect(wrapper).toExist();
-    console.log('wrapper', wrapper.debug());
   });
 });
diff --git a/superset-frontend/src/views/CRUD/hooks.ts b/superset-frontend/src/views/CRUD/hooks.ts
index 9dbdbc2..08e1262 100644
--- a/superset-frontend/src/views/CRUD/hooks.ts
+++ b/superset-frontend/src/views/CRUD/hooks.ts
@@ -330,7 +330,6 @@ export function useFavoriteStatus(
       endpoint: `${baseURL}/${id}/count/`,
     }).then(
       ({ json }) => {
-        console.log('json', json);
         updateFavoriteStatus({ [id]: json.count > 0 });
       },
       createErrorHandler(errMsg =>
@@ -439,8 +438,6 @@ export const copyQueryLink = (
     } else {
       selection.removeAllRanges();
     }
-    console.log('-----Success Toast--------')
     addSuccessToast(t('Link Copied!'));
-    console.log('-----Success Toast--------')
   }
 };