mirror of
https://github.com/apache/superset.git
synced 2026-05-11 10:55:43 +00:00
chore: enable no-static-element-interactions eslint rule (#10351)
This commit is contained in:
@@ -86,6 +86,8 @@ export default class ControlHeader extends React.Component {
|
||||
<ControlLabel>
|
||||
{this.props.leftNode && <span>{this.props.leftNode}</span>}
|
||||
<span
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
onClick={this.props.onClick}
|
||||
className={labelClass}
|
||||
style={{ cursor: this.props.onClick ? 'pointer' : '' }}
|
||||
|
||||
Reference in New Issue
Block a user