refactor Validation to be LoadingComponent and receive props to be reusable

This commit is contained in:
RcleydsonR
2022-12-13 18:26:00 -03:00
parent d97093462b
commit 409f22a8cf
5 changed files with 88 additions and 61 deletions

View File

@@ -16,7 +16,7 @@ export const useEtherStore = defineStore("ether", {
// Locks 'released' na blockchain
locksReleasedList: [] as any[],
// Locks expirados na blockchain
locksExpiredList: [] as any[]
locksExpiredList: [] as any[],
}),
actions: {
setWalletAddress(walletAddress: string) {
@@ -47,4 +47,4 @@ export const useEtherStore = defineStore("ether", {
this.locksExpiredList = locksExpiredList;
},
},
});
});