Fix onBecomeObserved reaction property
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user