changed name of the method in store.js

This commit is contained in:
Daria Golova
2022-06-30 14:50:59 +03:00
parent 5f85d1696a
commit 85897a8efe

View File

@@ -20,7 +20,7 @@ class Store {
reaction(() => this.tokenKey, () => fetchWrapper.getAuth('http://3.125.47.101/api/data/account', {
networkIdentifier: this.nodeInfo.networkIdentifier,
lastBlockID: this.nodeInfo.lastBlockID
}).then((res) => this.userInfoFetchChange(res)))
}).then((res) => this.userDataFetchChange(res)))
};
fetchCreateNewAccount() {
@@ -30,7 +30,7 @@ class Store {
}, [...this.encryptAccountData]).catch(()=>{})
};
userInfoFetchChange(res) {
userDataFetchChange(res) {
this._userData = res;
}