Web: Common: Fixed login error handling

This commit is contained in:
Alexey Safronov 2020-10-23 11:51:53 +03:00
parent d5d0239f6a
commit dc667af6ad

View File

@ -236,8 +236,7 @@ class Form extends Component {
}
})
.catch((error) => {
let err = error.data.error.message;
this.setState({ errorText: err, isLoading: false });
this.setState({ errorText: error, isLoading: false });
});
};