We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 173665b + aa264a6 commit 1725b46Copy full SHA for 1725b46
app/components/SignUp.tsx
@@ -22,6 +22,10 @@ const SignUp:React.FC = React.memo(() => {
22
// eslint-disable-next-line no-return-assign
23
inputFields.forEach(input => (input.value = ''));
24
25
+ if (!password) {
26
+ setFailedSignUp(<p>Please enter valid password</p>)
27
+ return;
28
+ }
29
if (password !== confirmPassword) {
30
setFailedSignUp(<p>Entered passwords do not match</p>);
31
return;
0 commit comments