use window.dispatchEvent
This commit is contained in:
parent
a6dec86374
commit
0244aaeb2f
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ export default class Registration extends React.Component<IProps, IState> {
|
||||||
const event = new CustomEvent<MobileRegistrationResponse>("mobileregistrationresponse", {
|
const event = new CustomEvent<MobileRegistrationResponse>("mobileregistrationresponse", {
|
||||||
detail: mobileResponse,
|
detail: mobileResponse,
|
||||||
});
|
});
|
||||||
document.dispatchEvent(event);
|
window.dispatchEvent(event);
|
||||||
newState.busy = false;
|
newState.busy = false;
|
||||||
newState.completedNoSignin = true;
|
newState.completedNoSignin = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue