Improve how errors are displayed in the UI
This commit is contained in:
@@ -22,7 +22,6 @@ export function submitFollow(router) {
|
||||
dispatch(submitFollowSuccess(response.data));
|
||||
router.push(`/accounts/${response.data.id}`);
|
||||
}).catch(function (error) {
|
||||
console.error(error);
|
||||
dispatch(submitFollowFail(error));
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user