mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
ESLint: Enable rule no-named-as-default (#10879)
* Enable rule no-named-as-default * Fix wrong import
This commit is contained in:
committed by
GitHub
parent
91fd06e093
commit
557a303cc5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user