Move ERC-20 warning from address-token view to receive/QR view
All checks were successful
check / check (push) Successful in 17s

The warning about only sending ERC-20 tokens on the Ethereum network
belongs on the receive page where the QR code is shown, not on the
token detail view. Non-token receive flows hide the warning.
This commit is contained in:
2026-02-27 11:37:18 +07:00
parent 21fe854fa4
commit a1b181a471
4 changed files with 19 additions and 18 deletions

View File

@@ -366,12 +366,6 @@
</button>
</div>
<!-- ERC-20 warning -->
<div
id="address-token-erc20-warning"
class="text-xs border border-border border-dashed p-2 mb-3 hidden"
></div>
<!-- token-filtered transactions -->
<div class="mt-3">
<div class="border-b border-border pb-1 mb-1">
@@ -549,6 +543,10 @@
>
Copy address
</button>
<div
id="receive-erc20-warning"
class="text-xs border border-border border-dashed p-2 mt-3 hidden"
></div>
</div>
<!-- ============ ADD TOKEN ============ -->