Fix typo preventing custom status from deregistering listeners on tiles

This commit is contained in:
Travis Ralston 2019-03-28 20:39:35 -06:00
parent 99dc2c4738
commit 0258f61f63

View file

@ -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;