Skip to content

Commit 8c0b433

Browse files
committed
Merge branch 'dev' into convertToDB
Co-authored-by: Jon Cruz [email protected] Co-authored-by: Elena Atencio [email protected] Co-authored-by: John Donato [email protected]
2 parents f34614e + 1725b46 commit 8c0b433

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/components/SignUp.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ const SignUp:React.FC = React.memo(() => {
3232
// eslint-disable-next-line no-return-assign
3333
inputFields.forEach(input => (input.value = ''));
3434

35-
console.log('check', username, password, email)
36-
35+
if (!password) {
36+
setFailedSignUp(<p>Please enter valid password</p>)
37+
return;
38+
}
3739
if (password !== confirmPassword) {
3840
setFailedSignUp(<p>Entered passwords do not match</p>);
3941
return;

0 commit comments

Comments
 (0)