Skip to content

Commit

Permalink
avoid window.location.reload
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivm committed Jun 7, 2023
1 parent 95fdd72 commit afb0d2d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class API {
}
getStore().dispatch(logout());
history.push('/login-signup/');
window.location.reload();
}
return Promise.reject(error);
}
Expand Down

0 comments on commit afb0d2d

Please sign in to comment.