Skip to content

Commit

Permalink
Not Remove Token from LocalStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
sergesoroka committed Oct 29, 2024
1 parent 0f751e0 commit 9e5cbbe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ function App() {
}
})
.catch(() => {
localStorage.removeItem("token");
localStorage.removeItem("username");

console.error("app: Failed to refresh token.");
});
}, 10000);
Expand Down

0 comments on commit 9e5cbbe

Please sign in to comment.