mirror of
https://github.com/apache/superset.git
synced 2026-04-24 18:44:53 +00:00
Re-enable rule no-else-return (#10861)
This commit is contained in:
committed by
GitHub
parent
76275ec410
commit
2d8f4e3aaf
@@ -108,7 +108,8 @@ export default class ModalTrigger extends React.Component {
|
||||
{this.renderModal()}
|
||||
</>
|
||||
);
|
||||
} else if (this.props.isMenuItem) {
|
||||
}
|
||||
if (this.props.isMenuItem) {
|
||||
return (
|
||||
<>
|
||||
<MenuItem onClick={this.open}>{this.props.triggerNode}</MenuItem>
|
||||
|
||||
Reference in New Issue
Block a user