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

@@ -24,7 +24,7 @@ import { connect } from 'react-redux';
import { styled, logging, t } from '@superset-ui/core';
import ExploreChartPanel from './ExploreChartPanel';
import ControlPanelsContainer from './ControlPanelsContainer';
import ConnectedControlPanelsContainer from './ControlPanelsContainer';
import SaveModal from './SaveModal';
import QueryAndSaveBtns from './QueryAndSaveBtns';
import { getExploreLongUrl } from '../exploreUtils';
@@ -352,7 +352,7 @@ class ExploreViewContainer extends React.Component {
errorMessage={this.renderErrorMessage()}
datasourceType={this.props.datasource_type}
/>
<ControlPanelsContainer
<ConnectedControlPanelsContainer
actions={this.props.actions}
form_data={this.props.form_data}
controls={this.props.controls}
@@ -416,8 +416,6 @@ function mapDispatchToProps(dispatch) {
};
}
export { ExploreViewContainer };
export default connect(
mapStateToProps,
mapDispatchToProps,