diff --git a/src/store/store.js b/src/store/store.js index 8890d9f..70fa83f 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -53,20 +53,17 @@ class Store { } fetchKeysArray() { - fetchWrapper.getAuth( - 'data/shared', - { - networkIdentifier: this.nodeInfo.networkIdentifier, - lastBlockID: this.nodeInfo.lastBlockID - }).then((res) => this.keysArrayFetchChange(res)) + fetchWrapper.getAuth('data/shared/', { + networkIdentifier: this.nodeInfo.networkIdentifier, + lastBlockID: this.nodeInfo.lastBlockID + }).then((res) => this.keysArrayFetchChange(res)) } fetchTransactionsInfo() { fetchWrapper.getAuth(`account/transactions/${this.accountMadeTransaction}?moduleID=1001&assetID=11`, { networkIdentifier: this.nodeInfo.networkIdentifier, lastBlockID: this.nodeInfo.lastBlockID - }) - .then((res)=>this.saveInfoTransactions(res)) + }).then((res)=>this.saveInfoTransactions(res)) } fetchSharedData() { @@ -131,7 +128,7 @@ class Store { get accountData() { return this._accountData - } + }; get sharedData() { return this._sharedData.map(elem => ({ @@ -207,7 +204,6 @@ class Store { const sign = cryptography.signDataWithPassphrase(Buffer.from(stringToSign, 'hex'), this.passPhrase).toString('hex') return this.pubKey + ':' +sign } - }; export const registrationStore = new Store(); diff --git a/src/tailwind.config.js b/src/tailwind.config.js index 4f35c23..8fb1079 100644 --- a/src/tailwind.config.js +++ b/src/tailwind.config.js @@ -17,7 +17,7 @@ module.exports = { blue: '2px solid rgba(0, 112, 244, 0.5)', }, fontFamily: { - inter: ['Inter', 'sans-serif'], + sans: ['Inter', 'sans-serif'], }, fontSize: { descriptionSize: ['0.75rem', { lineHeight: '1.25' }],