mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-02 02:51:30 +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';
|
pillClass = 'mx_UserPill';
|
||||||
href = null;
|
href = null;
|
||||||
onClick = this.onUserPillClicked.bind(this);
|
onClick = this.onUserPillClicked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user