- test #2;
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ const Login = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!isEmpty(token)) {
|
if (!isEmpty(token)) {
|
||||||
window.location.replace('/')
|
//window.location.replace('/')
|
||||||
}
|
}
|
||||||
}, [token]);
|
}, [token]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user