mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +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
@@ -22,7 +22,7 @@ import { ParentSize } from '@vx/responsive';
|
||||
import { styled } from '@superset-ui/core';
|
||||
import { chartPropShape } from '../../dashboard/util/propShapes';
|
||||
import ChartContainer from '../../chart/ChartContainer';
|
||||
import ExploreChartHeader from './ExploreChartHeader';
|
||||
import ConnectedExploreChartHeader from './ExploreChartHeader';
|
||||
|
||||
const propTypes = {
|
||||
actions: PropTypes.object.isRequired,
|
||||
@@ -110,7 +110,7 @@ class ExploreChartPanel extends React.PureComponent {
|
||||
}
|
||||
|
||||
const header = (
|
||||
<ExploreChartHeader
|
||||
<ConnectedExploreChartHeader
|
||||
actions={this.props.actions}
|
||||
addHistory={this.props.addHistory}
|
||||
can_overwrite={this.props.can_overwrite}
|
||||
|
||||
Reference in New Issue
Block a user