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 f34614e + 1725b46 commit 8c0b433Copy full SHA for 8c0b433
app/components/SignUp.tsx
@@ -32,8 +32,10 @@ const SignUp:React.FC = React.memo(() => {
32
// eslint-disable-next-line no-return-assign
33
inputFields.forEach(input => (input.value = ''));
34
35
- console.log('check', username, password, email)
36
-
+ if (!password) {
+ setFailedSignUp(<p>Please enter valid password</p>)
37
+ return;
38
+ }
39
if (password !== confirmPassword) {
40
setFailedSignUp(<p>Entered passwords do not match</p>);
41
return;
0 commit comments