Return early after cancelled mxid dialog
This commit is contained in:
@@ -778,6 +778,7 @@ module.exports = React.createClass({
|
||||
onFinished: (submitted, credentials) => {
|
||||
if (!submitted) {
|
||||
mxIdPromise.reject();
|
||||
return;
|
||||
}
|
||||
this.props.onRegistered(credentials);
|
||||
mxIdPromise.resolve();
|
||||
|
||||
Reference in New Issue
Block a user