From b86a70df192099d145d80035b314e9ae06dbff20 Mon Sep 17 00:00:00 2001
From: RcleydsonR
Date: Fri, 24 Feb 2023 01:39:58 -0300
Subject: [PATCH] improve layout from buy confirmed component
---
src/App.vue | 6 ++
src/blockchain/wallet.ts | 2 +-
.../BuyConfirmedComponent.vue | 87 +++++++++++++++++--
.../__tests__/BuyConfirmedComponent.spec.ts | 31 ++++---
.../ListingComponent/ListingComponent.vue | 8 +-
src/components/SpinnerComponent.vue | 1 -
src/views/HomeView.vue | 70 +--------------
src/views/ManageBidsView.vue | 2 +-
8 files changed, 112 insertions(+), 95 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 176d6a0..28dfc5b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,5 +1,6 @@
@@ -8,6 +9,11 @@ import TopBar from "@/components/TopBar/TopBar.vue";
+
+
+
+
+
diff --git a/src/blockchain/wallet.ts b/src/blockchain/wallet.ts
index e896b05..51146ce 100644
--- a/src/blockchain/wallet.ts
+++ b/src/blockchain/wallet.ts
@@ -203,7 +203,7 @@ const checkUnreleasedLock = async (
}
};
-const getActiveLockAmount = async (walletAddress: string): Promise => {
+const getActiveLockAmount = async (walletAddress: string): Promise => {
const p2pContract = getContract();
const lockSeller = await listLockTransactionBySellerAddress(walletAddress);
diff --git a/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue b/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue
index db63dff..08af84f 100644
--- a/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue
+++ b/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue
@@ -1,13 +1,80 @@
@@ -33,10 +100,7 @@ const emit = defineEmits(["makeAnotherTransaction"]);
cadastrar o BRZ em sua carteira.
- {}"
- />
+ {}" />