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';
|
pillClass = 'mx_UserPill';
|
||||||
href = null;
|
href = null;
|
||||||
onClick = this.onUserPillClicked.bind(this);
|
onClick = this.onUserPillClicked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue