feat: adding steps to home view to change from search to buy component
This commit is contained in:
@@ -4,14 +4,15 @@ export const useEtherStore = defineStore("ether", {
|
||||
state: () => ({
|
||||
walletAddress: "",
|
||||
balance: "",
|
||||
loadingLock: false,
|
||||
// Depósitos válidos para compra
|
||||
depositsValidList: [{}],
|
||||
depositsValidList: [] as any[],
|
||||
// Depósitos adicionados na blockchain
|
||||
depositsAddedList: [{}],
|
||||
depositsAddedList: [] as any[],
|
||||
// Depósitos expirados na blockchain
|
||||
depositsExpiredList: [{}],
|
||||
depositsExpiredList: [] as any[],
|
||||
// Locks adicionados na blockchain
|
||||
locksAddedList: [{}],
|
||||
locksAddedList: [] as any[],
|
||||
}),
|
||||
actions: {
|
||||
setWalletAddress(walletAddress: string) {
|
||||
@@ -20,6 +21,9 @@ export const useEtherStore = defineStore("ether", {
|
||||
setBalance(balance: string) {
|
||||
this.balance = balance;
|
||||
},
|
||||
setLoadingLock(isLoadingLock: boolean) {
|
||||
this.loadingLock = isLoadingLock;
|
||||
},
|
||||
setDepositsValidList(depositsValidList: any[]) {
|
||||
this.depositsValidList = depositsValidList;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user