diff --git a/src/store/store.js b/src/store/store.js index 5493b73..8890d9f 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -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 }