mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-01 10:31:21 +02:00
Don't bind Pill function, React does this for us
This commit is contained in:
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…
x
Reference in New Issue
Block a user