add validations to search tokens form, also implemented core functions

Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
Co-authored-by: Esio Freitas <esio.gustavo@gmail.com>
This commit is contained in:
RcleydsonR
2022-11-25 17:05:21 -03:00
parent eb70e0d970
commit 7f7d3dfae8
4 changed files with 58 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ export const useEtherStore = defineStore("ether", {
state: () => ({
walletAddress: "",
balance: "",
depositList: {},
depositList: [{}],
}),
actions: {
setWalletAddress(walletAddress: string) {
@@ -13,7 +13,7 @@ export const useEtherStore = defineStore("ether", {
setBalance(balance: string) {
this.balance = balance;
},
setDepositList(depositList: {}) {
setDepositList(depositList: any[]) {
this.depositList = depositList;
},
},