mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
use window.dispatchEvent
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user