Adjusted bid selection and improve UX.

This commit is contained in:
Filipe Soccol
2024-11-07 17:53:20 -03:00
parent b487949482
commit 5b49fdcffd
11 changed files with 178 additions and 158 deletions

View File

@@ -49,15 +49,19 @@ const callWithdraw = async (amount: string) => {
const getWalletTransactions = async () => {
etherStore.setLoadingWalletTransactions(true);
if (walletAddress.value) {
console.log("Will fetch all required data...");
const walletDeposits = await listValidDepositTransactionsByWalletAddress(
walletAddress.value
);
console.log("Fetched deposits");
const allUserTransactions = await listAllTransactionByWalletAddress(
walletAddress.value
);
console.log("Fetched all transactions");
activeLockAmount.value = await getActiveLockAmount(walletAddress.value);
console.log("Fetched active lock amount");
if (walletDeposits) {
depositList.value = walletDeposits;