Skip to content

Commit

Permalink
fix: don't truncate network name strings
Browse files Browse the repository at this point in the history
  • Loading branch information
vikinatora committed Nov 5, 2024
1 parent 580f413 commit 72bc726
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<i role="img" aria-label={value.name}>
<img src={icon} alt="chain-logo" class="rounded-full {iconSize}" />
</i>
<span>{truncateString(value.name, 8)}</span>
<span>{value.name}</span>
{/if}
</div>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<img src={icon} alt="chain-logo" class="rounded-full {iconSize}" />
</i>
</div>
<span class="text-primary-content text-base">{truncateString(srcChain.name, 8)}</span>
<span class="text-primary-content text-base">{srcChain.name}</span>
</div>
{:else}
<span class="text-base text-secondary-content"> {$t('chain_selector.from_placeholder')}</span>
Expand Down Expand Up @@ -92,7 +92,7 @@
<img src={icon} alt="chain-logo" class="rounded-full {iconSize}" />
</i>
</div>
<span class="text-primary-content text-base">{truncateString(destChain.name, 8)}</span>
<span class="text-primary-content text-base">{destChain.name}</span>
</div>
{:else}
<span class="text-base text-secondary-content"> {$t('chain_selector.to_placeholder')}</span>
Expand Down

0 comments on commit 72bc726

Please sign in to comment.