We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6adeb72 commit b79a0cfCopy full SHA for b79a0cf
frontend/src/components/Signup.jsx
@@ -34,7 +34,12 @@ function Signup() {
34
};
35
36
const validateForm = () => {
37
- if (email === '' || password === '' || confirmPassword === '' || name === '') {
+ if (
38
+ email === '' ||
39
+ password === '' ||
40
+ confirmPassword === '' ||
41
+ name === ''
42
+ ) {
43
toast.update(toastId, {
44
render: 'Please fill all the fields',
45
type: 'error',
0 commit comments