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

rusackas pushed a commit to branch Lint-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git

commit a3164972cc5592b041d20710dd8945a1d457afe3
Author: Evan Rusackas <[email protected]>
AuthorDate: Thu Feb 15 13:41:19 2024 -0700

    unused toggleShowDatasource
---
 .../src/explore/components/controls/DatasourceControl/index.jsx     | 6 ------
 1 file changed, 6 deletions(-)

diff --git 
a/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx 
b/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
index d72fe5f9e0..ff7cab8f3b 100644
--- 
a/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
+++ 
b/superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx
@@ -213,12 +213,6 @@ class DatasourceControl extends React.PureComponent {
     }
   };
 
-  toggleShowDatasource = () => {
-    this.setState(({ showDatasource }) => ({
-      showDatasource: !showDatasource,
-    }));
-  };
-
   toggleChangeDatasourceModal = () => {
     this.setState(({ showChangeDatasourceModal }) => ({
       showChangeDatasourceModal: !showChangeDatasourceModal,

Reply via email to