From 72bc726bdd2672e5cc9239be7b174d7ae78d53a5 Mon Sep 17 00:00:00 2001 From: vikinatora Date: Tue, 5 Nov 2024 12:00:49 +0200 Subject: [PATCH] fix: don't truncate network name strings --- .../src/components/ChainSelectors/ChainPill/ChainPill.svelte | 2 +- .../CombinedChainSelector/CombinedChainSelector.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/bridge-ui/src/components/ChainSelectors/ChainPill/ChainPill.svelte b/packages/bridge-ui/src/components/ChainSelectors/ChainPill/ChainPill.svelte index fd500c63141..15f75158a55 100644 --- a/packages/bridge-ui/src/components/ChainSelectors/ChainPill/ChainPill.svelte +++ b/packages/bridge-ui/src/components/ChainSelectors/ChainPill/ChainPill.svelte @@ -61,7 +61,7 @@ chain-logo - {truncateString(value.name, 8)} + {value.name} {/if} diff --git a/packages/bridge-ui/src/components/ChainSelectors/CombinedChainSelector/CombinedChainSelector.svelte b/packages/bridge-ui/src/components/ChainSelectors/CombinedChainSelector/CombinedChainSelector.svelte index 37feb77cf28..09c2d0ed273 100644 --- a/packages/bridge-ui/src/components/ChainSelectors/CombinedChainSelector/CombinedChainSelector.svelte +++ b/packages/bridge-ui/src/components/ChainSelectors/CombinedChainSelector/CombinedChainSelector.svelte @@ -60,7 +60,7 @@ chain-logo - {truncateString(srcChain.name, 8)} + {srcChain.name} {:else} {$t('chain_selector.from_placeholder')} @@ -92,7 +92,7 @@ chain-logo - {truncateString(destChain.name, 8)} + {destChain.name} {:else} {$t('chain_selector.to_placeholder')}