changed name of the method in store.js
This commit is contained in:
@@ -20,7 +20,7 @@ class Store {
|
|||||||
reaction(() => this.tokenKey, () => fetchWrapper.getAuth('http://3.125.47.101/api/data/account', {
|
reaction(() => this.tokenKey, () => fetchWrapper.getAuth('http://3.125.47.101/api/data/account', {
|
||||||
networkIdentifier: this.nodeInfo.networkIdentifier,
|
networkIdentifier: this.nodeInfo.networkIdentifier,
|
||||||
lastBlockID: this.nodeInfo.lastBlockID
|
lastBlockID: this.nodeInfo.lastBlockID
|
||||||
}).then((res) => this.userInfoFetchChange(res)))
|
}).then((res) => this.userDataFetchChange(res)))
|
||||||
};
|
};
|
||||||
|
|
||||||
fetchCreateNewAccount() {
|
fetchCreateNewAccount() {
|
||||||
@@ -30,7 +30,7 @@ class Store {
|
|||||||
}, [...this.encryptAccountData]).catch(()=>{})
|
}, [...this.encryptAccountData]).catch(()=>{})
|
||||||
};
|
};
|
||||||
|
|
||||||
userInfoFetchChange(res) {
|
userDataFetchChange(res) {
|
||||||
this._userData = res;
|
this._userData = res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user