From b79a0cffb6442ed224033d81a1182e48f0f5f032 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2024 05:47:51 +0000 Subject: [PATCH] Auto formatting with Prettier --- frontend/src/components/Signup.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Signup.jsx b/frontend/src/components/Signup.jsx index a64faa7..a862269 100644 --- a/frontend/src/components/Signup.jsx +++ b/frontend/src/components/Signup.jsx @@ -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',