Fix unexpected behavior from listing transactions and approve tokens

Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
This commit is contained in:
RcleydsonR
2023-01-19 19:24:28 -03:00
parent 2a0c069674
commit 7a080209b3
7 changed files with 25 additions and 18 deletions

View File

@@ -9,6 +9,8 @@ export const useEtherStore = defineStore("ether", {
balance: "",
networkName: NetworkEnum.ethereum,
loadingLock: false,
loadingWalletTransactionHistory: false,
loadingWalletBids: false,
sellerView: false,
// Depósitos válidos para compra GOERLI
depositsValidListGoerli: [] as ValidDeposit[],
@@ -41,6 +43,12 @@ export const useEtherStore = defineStore("ether", {
setSellerView(sellerView: boolean) {
this.sellerView = sellerView;
},
setLoadingWalletTransactionHistory(loadingWalletTransactionHistory: boolean) {
this.loadingWalletTransactionHistory = loadingWalletTransactionHistory;
},
setLoadingWalletBids(loadingWalletBids: boolean) {
this.loadingWalletBids = loadingWalletBids;
},
setDepositsValidListGoerli(depositsValidList: ValidDeposit[]) {
this.depositsValidListGoerli = depositsValidList;
},