Minor changes to registration msg

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-11-07 17:44:09 +05:30
parent a3270041e3
commit fc470d0622
2 changed files with 3 additions and 30275 deletions

30272
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -388,7 +388,7 @@ function Register({ registerInfo, loginFlow, baseUrl }) {
session, session,
}); });
if (d.done) refreshWindow(); if (d.done) refreshWindow();
else setProcess({ type: 'processing', message: 'Registration in progress....' }); else setProcess({ type: 'processing', message: 'Registration in progress...' });
}; };
const handleTerms = async () => { const handleTerms = async () => {
const [username, password] = getInputs(); const [username, password] = getInputs();
@ -397,7 +397,7 @@ function Register({ registerInfo, loginFlow, baseUrl }) {
session, session,
}); });
if (d.done) refreshWindow(); if (d.done) refreshWindow();
else setProcess({ type: 'processing', message: 'Registration in progress....' }); else setProcess({ type: 'processing', message: 'Registration in progress...' });
}; };
const handleEmailVerify = async () => { const handleEmailVerify = async () => {
const [username, password] = getInputs(); const [username, password] = getInputs();
@ -408,7 +408,7 @@ function Register({ registerInfo, loginFlow, baseUrl }) {
session, session,
}); });
if (d.done) refreshWindow(); if (d.done) refreshWindow();
else setProcess({ type: 'processing', message: 'Registration in progress....' }); else setProcess({ type: 'processing', message: 'Registration in progress...' });
}; };
return ( return (