From fa03929ddd35a8dc3a95a47b5e56ffae0beea500 Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Wed, 9 Oct 2024 10:27:17 +0200 Subject: [PATCH] - test #2; --- src/App.js | 2 +- src/pages/Login/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 1f762f3..d188d98 100644 --- a/src/App.js +++ b/src/App.js @@ -53,7 +53,7 @@ function App() { useEffect(() => { storeSet.main.setAsyncRequest(); console.log('app loaded, initiate call to /me'); - AuthenticationService.me(callback, errCallback); + //AuthenticationService.me(callback, errCallback); fetch('/languages/en_US.json') .then((res) => res.json()) diff --git a/src/pages/Login/index.js b/src/pages/Login/index.js index fd6cd46..16983a9 100644 --- a/src/pages/Login/index.js +++ b/src/pages/Login/index.js @@ -58,7 +58,7 @@ const Login = () => { useEffect(() => { if (!isEmpty(token)) { - window.location.replace('/') + //window.location.replace('/') } }, [token]);