From 3862e2d2a06abccef77e6c29fbc32baf9be02040 Mon Sep 17 00:00:00 2001 From: Antonio Ventilii <32648800+AntonioVentilii@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:36:05 +0100 Subject: [PATCH] refactor(frontend): rename Transactions list component (#3341) # Note This is a duplicate of #3332 because I changed the account # Motivation After PR #3321 , we merge the component `TransactionsSignedIn` into `Transactions`, since there is no signed-in state anymore. --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .../transactions/Transactions.svelte | 17 +++++++++++++++-- .../transactions/TransactionsSignedIn.svelte | 18 ------------------ 2 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte diff --git a/src/frontend/src/lib/components/transactions/Transactions.svelte b/src/frontend/src/lib/components/transactions/Transactions.svelte index c194ddb9b3..64aadc0d1e 100644 --- a/src/frontend/src/lib/components/transactions/Transactions.svelte +++ b/src/frontend/src/lib/components/transactions/Transactions.svelte @@ -1,5 +1,18 @@ - +{#if nonNullish($routeNetwork)} + {#if $networkICP} + + {:else if $networkBitcoin} + + {:else if nonNullish($routeToken)} + + {/if} +{/if} diff --git a/src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte b/src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte deleted file mode 100644 index 64aadc0d1e..0000000000 --- a/src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte +++ /dev/null @@ -1,18 +0,0 @@ - - -{#if nonNullish($routeNetwork)} - {#if $networkICP} - - {:else if $networkBitcoin} - - {:else if nonNullish($routeToken)} - - {/if} -{/if}