mirror of https://github.com/vector-im/riot-web
Don't bind Pill function, React does this for us
parent
273abd9327
commit
b678c2cf0f
|
@ -171,7 +171,7 @@ const Pill = React.createClass({
|
|||
}
|
||||
pillClass = 'mx_UserPill';
|
||||
href = null;
|
||||
onClick = this.onUserPillClicked.bind(this);
|
||||
onClick = this.onUserPillClicked;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue