Skip to content

Commit b79a0cf

Browse files
Auto formatting with Prettier
1 parent 6adeb72 commit b79a0cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

frontend/src/components/Signup.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ function Signup() {
3434
};
3535

3636
const validateForm = () => {
37-
if (email === '' || password === '' || confirmPassword === '' || name === '') {
37+
if (
38+
email === '' ||
39+
password === '' ||
40+
confirmPassword === '' ||
41+
name === ''
42+
) {
3843
toast.update(toastId, {
3944
render: 'Please fill all the fields',
4045
type: 'error',

0 commit comments

Comments
 (0)