Fixed linting errors and warnings
This commit is contained in:
@ -25,7 +25,7 @@ class Node extends React.Component {
|
||||
}}
|
||||
onClick={this.handleCollapse}
|
||||
>
|
||||
<img src={require('./assets/chevron.svg')} />
|
||||
<img alt="Expand" src={require('./assets/chevron.svg')} />
|
||||
</span>
|
||||
);
|
||||
}
|
||||
@ -82,7 +82,6 @@ class Node extends React.Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
const tree = this.props.tree;
|
||||
const index = this.props.index;
|
||||
const dragging = this.props.dragging;
|
||||
const node = index.node;
|
||||
|
Reference in New Issue
Block a user