diff --git a/client/components/pages/signup.jsx b/client/components/pages/signup.jsx index 7632465..3306eea 100644 --- a/client/components/pages/signup.jsx +++ b/client/components/pages/signup.jsx @@ -78,7 +78,7 @@ const handleSubmit = async (email, username, password, retype, contact) => { const err = handleValidation(email, username, password, retype); if (err) { - return err; + return [err]; } //send to the auth server