From 5ca7eb91bfb30d9ffb2f33711d0048c153dfb4d1 Mon Sep 17 00:00:00 2001 From: Jack Hamer Date: Mon, 8 Jan 2024 22:46:11 +0200 Subject: [PATCH] fix: requested changes --- components/transaction/FeeDetails.vue | 19 +++------------ .../transaction/TransactionProgress.vue | 2 +- .../transaction/lineItem/TokenAmount.vue | 9 +++---- .../transaction/summary/AddressEntry.vue | 17 +++++++++---- views/transactions/Deposit.vue | 24 ++++++++++++++----- views/transactions/Transfer.vue | 24 ++++++++++++++----- 6 files changed, 56 insertions(+), 39 deletions(-) diff --git a/components/transaction/FeeDetails.vue b/components/transaction/FeeDetails.vue index 2301b6c65..802c6134c 100644 --- a/components/transaction/FeeDetails.vue +++ b/components/transaction/FeeDetails.vue @@ -27,18 +27,12 @@ {{ totalPrice }} of {{ parseTokenAmount(feeAmount, feeToken.decimals) }} - +   {{ feeToken.symbol }} +   + - @@ -69,15 +63,8 @@ const props = defineProps({ type: Boolean, default: false, }, - updateDuration: { - type: Number, - }, }); -const emit = defineEmits<{ - (eventName: "update"): void; -}>(); - const displayFeeAsFiat = ref(true); const canDisplayFeeAsFiat = computed(() => (props.feeToken?.price ? true : false)); diff --git a/components/transaction/TransactionProgress.vue b/components/transaction/TransactionProgress.vue index fee6f3e69..3d86b5eb6 100644 --- a/components/transaction/TransactionProgress.vue +++ b/components/transaction/TransactionProgress.vue @@ -75,8 +75,8 @@ Value: {{ parseTokenAmount(token.amount, token.decimals) }} - {{ token.symbol }} +
diff --git a/components/transaction/lineItem/TokenAmount.vue b/components/transaction/lineItem/TokenAmount.vue index 6605e5765..a344d040b 100644 --- a/components/transaction/lineItem/TokenAmount.vue +++ b/components/transaction/lineItem/TokenAmount.vue @@ -3,13 +3,10 @@
{{ direction === "in" ? "+" : "-" }} {{ displayedAmount }} - +   {{ token.symbol }} +   +
diff --git a/components/transaction/summary/AddressEntry.vue b/components/transaction/summary/AddressEntry.vue index 94fbd6312..61347c72e 100644 --- a/components/transaction/summary/AddressEntry.vue +++ b/components/transaction/summary/AddressEntry.vue @@ -4,8 +4,14 @@