File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ async function signUp(): Promise<void> {
492492 } ) ;
493493 return ;
494494 }
495- RegisterCaptchaModal . show ( ) ;
495+ await RegisterCaptchaModal . show ( ) ;
496496 const captchaToken = await RegisterCaptchaModal . promise ;
497497 if ( captchaToken === undefined || captchaToken === "" ) {
498498 Notifications . add ( "Please complete the captcha" , - 1 ) ;
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ export let promise = new Promise<string | undefined>((resolve) => {
77 resolvePromise = resolve ;
88} ) ;
99
10- export function show ( ) : void {
11- void modal . show ( {
10+ export async function show ( ) : Promise < void > {
11+ await modal . show ( {
1212 mode : "dialog" ,
1313 beforeAnimation : async ( modal ) => {
1414 promise = new Promise ( ( resolve ) => {
You can’t perform that action at this time.
0 commit comments