From 9e5cbbe313251511542b1c6be61838fe6bd9b26c Mon Sep 17 00:00:00 2001 From: sergesoroka Date: Tue, 29 Oct 2024 16:25:32 +0200 Subject: [PATCH] Not Remove Token from LocalStorage --- src/App.jsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index edfc117..610e55f 100755 --- a/src/App.jsx +++ b/src/App.jsx @@ -44,9 +44,6 @@ function App() { } }) .catch(() => { - localStorage.removeItem("token"); - localStorage.removeItem("username"); - console.error("app: Failed to refresh token."); }); }, 10000);