Fix onBecomeObserved reaction property

This commit is contained in:
DwCay
2022-07-18 11:27:55 +03:00
parent 3c77264fae
commit 52eb2a75c1

View File

@@ -31,7 +31,7 @@ class Store {
this.fetchNodeInfo()
reaction(()=>this.keysArray, ()=>this.fetchSharedData())
onBecomeObserved(this, "userData", () => this.fetchNewAccountData())
onBecomeObserved(this, "decryptedUserData", () => this.fetchNewAccountData())
onBecomeObserved(this, "transactionsInfo", ()=>this.fetchTransactionsInfo())
onBecomeUnobserved(this, "transactionsInfo", ()=>this.unobservedTransactionsInfo())
onBecomeObserved(this, "sharedData", ()=>this.fetchKeysArray())
@@ -91,10 +91,6 @@ class Store {
return this._keysArray;
}
get userData() {
return this._userData;
}
savePassPhrase(phrase) {
this._passPhrase = phrase
}