From 295afb58e2874a397168723cf1dc6aba2e8cef27 Mon Sep 17 00:00:00 2001 From: brunoedcf Date: Sun, 4 Dec 2022 15:34:06 -0300 Subject: [PATCH] Fixing lint --- src/components/SearchComponent.vue | 12 ++++++------ src/utils/blockchain.ts | 20 +++++++++----------- src/views/HomeView.vue | 9 +++++---- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/src/components/SearchComponent.vue b/src/components/SearchComponent.vue index fd794b5..5cff2b8 100644 --- a/src/components/SearchComponent.vue +++ b/src/components/SearchComponent.vue @@ -59,10 +59,8 @@ const verifyLiquidity = () => { if (!walletAddress.value || tokenValue.value <= 0) return; - const found = depositsAddedList.value.find((element) => { - const p2pixTokenValue = blockchain.formatBigNumber( - element.args.amount - ); + depositsAddedList.value.find((element) => { + const p2pixTokenValue = blockchain.formatBigNumber(element.args.amount); if ( tokenValue.value!! <= Number(p2pixTokenValue) && tokenValue.value!! != 0 && @@ -71,7 +69,10 @@ const verifyLiquidity = () => { enableSelectButton.value = true; hasLiquidity.value = true; selectedDeposit.value = element; - console.log("Selected is :", blockchain.formatBigNumber(element.args.amount)) + console.log( + "Selected is :", + blockchain.formatBigNumber(element.args.amount) + ); return true; } return false; @@ -81,7 +82,6 @@ const verifyLiquidity = () => { hasLiquidity.value = false; } }; -