1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Don't bind Pill function, React does this for us

This commit is contained in:
Luke Barnard
2017-08-18 17:15:27 +01:00
parent 273abd9327
commit b678c2cf0f

View File

@@ -171,7 +171,7 @@ const Pill = React.createClass({
}
pillClass = 'mx_UserPill';
href = null;
onClick = this.onUserPillClicked.bind(this);
onClick = this.onUserPillClicked;
}
}
break;