This commit is contained in:
Vitalii Kiiko
2024-10-09 10:27:17 +02:00
parent 58303425ac
commit fa03929ddd
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ function App() {
useEffect(() => { useEffect(() => {
storeSet.main.setAsyncRequest(); storeSet.main.setAsyncRequest();
console.log('app loaded, initiate call to /me'); console.log('app loaded, initiate call to /me');
AuthenticationService.me(callback, errCallback); //AuthenticationService.me(callback, errCallback);
fetch('/languages/en_US.json') fetch('/languages/en_US.json')
.then((res) => res.json()) .then((res) => res.json())

View File

@@ -58,7 +58,7 @@ const Login = () => {
useEffect(() => { useEffect(() => {
if (!isEmpty(token)) { if (!isEmpty(token)) {
window.location.replace('/') //window.location.replace('/')
} }
}, [token]); }, [token]);