From fa067d0e393ac33bf1ffb4df53a01e934a352ac7 Mon Sep 17 00:00:00 2001 From: Nicole O'Brien Date: Wed, 10 Jul 2024 11:06:03 +0100 Subject: [PATCH] refactor: cleanup --- .../transaction-views/EvmBaseCoinTransferView.svelte | 4 +--- .../transaction-views/EvmNftTransferView.svelte | 4 +--- .../transaction-views/EvmSmartContractView.svelte | 4 +--- .../transaction-views/EvmTokenApprovalView.svelte | 4 +--- .../transaction-views/EvmTokenTransferView.svelte | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/packages/desktop/components/evm-transactions/transaction-views/EvmBaseCoinTransferView.svelte b/packages/desktop/components/evm-transactions/transaction-views/EvmBaseCoinTransferView.svelte index 381e1aac94..74b18cb992 100644 --- a/packages/desktop/components/evm-transactions/transaction-views/EvmBaseCoinTransferView.svelte +++ b/packages/desktop/components/evm-transactions/transaction-views/EvmBaseCoinTransferView.svelte @@ -35,8 +35,6 @@
- {#if $$slots.transactionDetails} - - {/if} +
diff --git a/packages/desktop/components/evm-transactions/transaction-views/EvmNftTransferView.svelte b/packages/desktop/components/evm-transactions/transaction-views/EvmNftTransferView.svelte index 9423c7f905..a2ffe237c7 100644 --- a/packages/desktop/components/evm-transactions/transaction-views/EvmNftTransferView.svelte +++ b/packages/desktop/components/evm-transactions/transaction-views/EvmNftTransferView.svelte @@ -40,8 +40,6 @@
- {#if $$slots.transactionDetails} - - {/if} +
diff --git a/packages/desktop/components/evm-transactions/transaction-views/EvmSmartContractView.svelte b/packages/desktop/components/evm-transactions/transaction-views/EvmSmartContractView.svelte index 205448ce22..1c172eb1a4 100644 --- a/packages/desktop/components/evm-transactions/transaction-views/EvmSmartContractView.svelte +++ b/packages/desktop/components/evm-transactions/transaction-views/EvmSmartContractView.svelte @@ -37,8 +37,6 @@
- {#if $$slots.transactionDetails} - - {/if} +
diff --git a/packages/desktop/components/evm-transactions/transaction-views/EvmTokenApprovalView.svelte b/packages/desktop/components/evm-transactions/transaction-views/EvmTokenApprovalView.svelte index a409a3681d..ae55defc14 100644 --- a/packages/desktop/components/evm-transactions/transaction-views/EvmTokenApprovalView.svelte +++ b/packages/desktop/components/evm-transactions/transaction-views/EvmTokenApprovalView.svelte @@ -53,9 +53,7 @@
- {#if $$slots.transactionDetails} - - {/if} + {#if baseCoinTransfer.rawAmount > BigInt(0)} diff --git a/packages/desktop/components/evm-transactions/transaction-views/EvmTokenTransferView.svelte b/packages/desktop/components/evm-transactions/transaction-views/EvmTokenTransferView.svelte index ee58f6ffda..7fe86e4728 100644 --- a/packages/desktop/components/evm-transactions/transaction-views/EvmTokenTransferView.svelte +++ b/packages/desktop/components/evm-transactions/transaction-views/EvmTokenTransferView.svelte @@ -42,8 +42,6 @@
- {#if $$slots.transactionDetails} - - {/if} +