You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-13 08:02:38 +03:00
Another unmounted guard
This commit is contained in:
@@ -116,6 +116,7 @@ export default WithMatrixClient(React.createClass({
|
|||||||
this._addThreepid = null;
|
this._addThreepid = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this._unmounted) return;
|
||||||
this.setState({msisdn_add_pending: true});
|
this.setState({msisdn_add_pending: true});
|
||||||
this._addThreepid.haveMsisdnToken(token).then(() => {
|
this._addThreepid.haveMsisdnToken(token).then(() => {
|
||||||
this._addThreepid = null;
|
this._addThreepid = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user