mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Fix typo preventing custom status from deregistering listeners on tiles
This commit is contained in:
parent
99dc2c4738
commit
0258f61f63
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
|||
user.on("User._unstable_statusMessage", this._onStatusMessageCommitted);
|
||||
},
|
||||
|
||||
componentWillUmount() {
|
||||
componentWillUnmount() {
|
||||
const { user } = this.props.member;
|
||||
if (!user) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue