Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurnewase committed Oct 6, 2022
1 parent a0f3b0a commit 764c14e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions superset-frontend/src/SqlLab/components/SaveQuery/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ export default function SaveQuery({
const close = () => setShowSave(false);

const onSaveWrapper = () => {
console.log('save wrapper ', query, query.id, queryEditorId);

onSave(queryPayload(), query.id);
close();
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,6 @@ class TabbedSqlEditors extends React.PureComponent {
}

render() {
console.log('editors ', this.props.queryEditors);

const noQueryEditors = this.props.queryEditors?.length === 0;
const editors = this.props.queryEditors?.map(qe => (
<EditableTabs.TabPane
Expand Down
1 change: 0 additions & 1 deletion superset-frontend/src/SqlLab/reducers/sqlLab.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default function sqlLabReducer(state = {}, action) {
[actions.QUERY_EDITOR_SAVED]() {
const { query, result, clientId } = action;
const existing = state.queryEditors.find(qe => qe.id === clientId);
console.log('existing ', existing);
return alterInArr(
state,
'queryEditors',
Expand Down

0 comments on commit 764c14e

Please sign in to comment.