Skip to content

Commit 6aedb33

Browse files
Linda Pengangelocordon
authored andcommitted
Update error log since it was breaking tests
1 parent 36caab8 commit 6aedb33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Auth/SignUpForm.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ const SignUpForm = ({ toggleActiveForm }) => {
2929
setErrorMessage('');
3030
})
3131
.catch(err => {
32-
setErrorMessage(Object.values(err.response.data).join(''));
32+
console.log(err);
33+
setErrorMessage('There was an error!');
3334
});
3435
};
3536

0 commit comments

Comments
 (0)