- added console logs;
This commit is contained in:
@@ -16,6 +16,7 @@ function App() {
|
||||
const role = useStore().main.getRole();
|
||||
|
||||
const callback = (data) => {
|
||||
console.log('app /me', data);
|
||||
if (data.status === 'SUCCESS') {
|
||||
storeSet.main.userData(data.data);
|
||||
} else {
|
||||
@@ -51,6 +52,7 @@ function App() {
|
||||
|
||||
useEffect(() => {
|
||||
storeSet.main.setAsyncRequest();
|
||||
console.log('app loaded, initiate call to /me');
|
||||
AuthenticationService.me(callback, errCallback);
|
||||
|
||||
fetch('/languages/en_US.json')
|
||||
|
||||
Reference in New Issue
Block a user