Skip to content

Commit

Permalink
Auto formatting with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 25, 2024
1 parent 6adeb72 commit b79a0cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/components/Signup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ function Signup() {
};

const validateForm = () => {
if (email === '' || password === '' || confirmPassword === '' || name === '') {
if (
email === '' ||
password === '' ||
confirmPassword === '' ||
name === ''
) {
toast.update(toastId, {
render: 'Please fill all the fields',
type: 'error',
Expand Down

0 comments on commit b79a0cf

Please sign in to comment.