add loader

This commit is contained in:
kandrusyak
2022-08-22 17:05:05 +03:00
parent 79ca03823c
commit 369f0e375c
7 changed files with 297 additions and 83 deletions

View File

@@ -30,6 +30,8 @@ class Store {
_accountInfo = {};
_loading = false;
constructor() {
makeAutoObservable(this, {});
@@ -289,6 +291,14 @@ class Store {
[item.label]: item.value
}), {})
}
get loading() {
return this._loading;
}
set loading(value) {
this._loading = value;
}
}
export const store = new Store();