Another unmounted guard
This commit is contained in:
parent
b58d8bffe1
commit
d5272149f6
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ export default WithMatrixClient(React.createClass({
|
|||
this._addThreepid = null;
|
||||
return;
|
||||
}
|
||||
if (this._unmounted) return;
|
||||
this.setState({msisdn_add_pending: true});
|
||||
this._addThreepid.haveMsisdnToken(token).then(() => {
|
||||
this._addThreepid = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue