mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Another unmounted guard
This commit is contained in:
parent
b58d8bffe1
commit
d5272149f6
@ -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…
Reference in New Issue
Block a user