ESLint: Enable rule no-named-as-default (#10879)

* Enable rule no-named-as-default

* Fix wrong import
This commit is contained in:
Kamil Gabryjelski
2020-09-18 22:41:01 +02:00
committed by GitHub
parent 91fd06e093
commit 557a303cc5
19 changed files with 21 additions and 33 deletions

View File

@@ -40,7 +40,7 @@ import Hotkeys from 'src/components/Hotkeys';
import LimitControl from './LimitControl';
import TemplateParamsEditor from './TemplateParamsEditor';
import SouthPane from './SouthPane';
import ConnectedSouthPane from './SouthPane';
import SaveQuery from './SaveQuery';
import ScheduleQueryButton from './ScheduleQueryButton';
import EstimateQueryCostButton from './EstimateQueryCostButton';
@@ -389,7 +389,7 @@ class SqlEditor extends React.PureComponent {
/>
{this.renderEditorBottomBar(hotkeys)}
</div>
<SouthPane
<ConnectedSouthPane
editorQueries={this.props.editorQueries}
latestQueryId={this.props.latestQuery && this.props.latestQuery.id}
dataPreviewQueries={this.props.dataPreviewQueries}