- added console logs;

This commit is contained in:
Vitalii Kiiko
2024-10-09 10:18:00 +02:00
parent fa29164fed
commit 58303425ac
4 changed files with 8 additions and 1 deletions

View File

@@ -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')