Don't bind Pill function, React does this for us
This commit is contained in:
parent
273abd9327
commit
b678c2cf0f
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ const Pill = React.createClass({
|
|||
}
|
||||
pillClass = 'mx_UserPill';
|
||||
href = null;
|
||||
onClick = this.onUserPillClicked.bind(this);
|
||||
onClick = this.onUserPillClicked;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue