Skip to content

Commit

Permalink
fix: don't truncate network name strings (#31)
Browse files Browse the repository at this point in the history
vikinatora committed Jan 21, 2025

Verified

This commit was signed with the committer’s verified signature.
IvanGoncharov Ivan Goncharov
1 parent 86f94e9 commit 22cf85a
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
@@ -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>
@@ -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>

0 comments on commit 22cf85a

Please sign in to comment.