Add token-to-native swap detection with NATIVE_SYMBOLS map

This commit is contained in:
2026-05-24 04:57:55 +08:00
parent 8a0e5e431f
commit 6d32c91fb3
3 changed files with 16 additions and 2 deletions
@@ -124,7 +124,7 @@
{network?.symbol ?? 'ETH'}
<span class="mx-1">→</span>
{Number(details.pairedValue).toFixed(4)}
{details.pairedSymbol}
{details.pairedSymbol ?? network?.symbol ?? 'ETH'}
</p>
</div>
{/if}