Skip to content

Commit

Permalink
Test fix CB v3
Browse files Browse the repository at this point in the history
  • Loading branch information
geo saglio committed Jun 11, 2024
1 parent b376108 commit 935675e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,9 @@ function App() {
.catch((err) => {
if (err.response.status === 403) {
handleLogOut();
} else if (err.response.status === 400) {
console.log(err.response.data.error.message)
} else {
let errorHistory: history = {};
errorHistory.messageErreur = err.response.data;
errorHistory.messageErreur = err.response.data.error.message;
dispatch(setHistory(errorHistory));
}
setActionHappenening(false);
Expand Down

0 comments on commit 935675e

Please sign in to comment.