-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cleanup] Remove dead code in several React components #745
Conversation
if (this.props.onChange) { | ||
this.props.onChange(entity); | ||
} | ||
Events.emit('entityselect', entity, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This true param here has no meaning, there is no second parameter in any of the entityselect listener in the code base, meaning there is no Events.on('entityselect', (entity, someboolean) => ...
3e9181f
to
85c6d46
Compare
Thanks! |
0d8871b
to
1391cd5
Compare
I rebased to fix the conflict. You can merge. |
@dmarcos in case you missed my comment. |
Thanks! |
Those are props and state that aren't used anywhere.