Skip to content

Commit

Permalink
chore: remove unnecessary if
Browse files Browse the repository at this point in the history
  • Loading branch information
KimiaMontazeri committed Nov 27, 2023
1 parent 59c971e commit d653d6c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/src/pages/Signup/Signup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ const SignUpForm = ({ onLoginClick }) => {
};

useEffect(() => {
if (createUserData == null) return;

const toastDataTemp = {};
if (createUserData) {
switch (createUserData.status) {
Expand Down

0 comments on commit d653d6c

Please sign in to comment.