- updated zustand and react libraries;

- added 'put in draft' btn;
This commit is contained in:
Vitalii Kiiko
2025-04-10 12:36:19 +02:00
parent 44ba9036cb
commit 7dcf932819
90 changed files with 677 additions and 587 deletions

View File

@@ -9,12 +9,12 @@ const API_BASE_URL = process.env.REACT_APP_API_EXECUTION_ADDRESS;
export default class AuthenticationService {
static wasLoggedIn = () => {
const token = storeGet.main.getToken();
const token = storeGet('getToken');
return token ?? false;
};
static isExpired = () => {
const token = storeGet.main.getToken();
const token = storeGet('getToken');
if (!token) {
return false;
@@ -36,7 +36,7 @@ export default class AuthenticationService {
};
static isLoggedIn = () => {
const token = storeGet.main.getToken();
const token = storeGet('getToken');
if (!token) {
return false;