From d653d6c75718b00fcaea37593ab1b8dabfb2ded5 Mon Sep 17 00:00:00 2001 From: KimiaMontazeri Date: Mon, 27 Nov 2023 22:31:26 +0330 Subject: [PATCH] chore: remove unnecessary if --- frontend/src/pages/Signup/Signup.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/pages/Signup/Signup.jsx b/frontend/src/pages/Signup/Signup.jsx index 461305c..fec1317 100644 --- a/frontend/src/pages/Signup/Signup.jsx +++ b/frontend/src/pages/Signup/Signup.jsx @@ -98,8 +98,6 @@ const SignUpForm = ({ onLoginClick }) => { }; useEffect(() => { - if (createUserData == null) return; - const toastDataTemp = {}; if (createUserData) { switch (createUserData.status) {