Skip to content

Commit

Permalink
Release: Remove reload
Browse files Browse the repository at this point in the history
  • Loading branch information
zwright committed Mar 10, 2021
1 parent 15b44dd commit 8ecadce
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/actions/Error/errorActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ export const handleError = (statusCode) => {
};

export const sendMessageToBackend = (error) => {
if (!error.status) {
return (dispatch) => {
dispatch(window.location.reload());
}
}
if (error.response && error.response.status && error.response.status >= 400) {
return (dispatch) => {
let href = window.location.href;
Expand Down

0 comments on commit 8ecadce

Please sign in to comment.