[Bug]: Incorrect warning message shown when there is an insufficient balance for a swap, errors in the console #26341
Labels
regression-prod-11.16.16
Regression bug that was found in production in release 11.16.16
Sev2-normal
Normal severity; minor loss of service or inconvenience.
team-swaps
type-bug
Describe the bug
When there is an insufficient balance for a swap, users encounter a misleading warning message stating "No quotes available," instead of a more accurate indication of the balance issue.
This issue arises because the amount does not automatically reset to zero when a user selects a different token, leading to an insufficient balance problem.
Expected behavior
The amount should automatically reset to zero whenever a token is switched and correct warning message should be displayed, to ensure clarity and prevent any balance discrepancies.
Screenshots/Recordings
noQuotesv11.mov
noQuotesFirefox.mov
Correct 'Insufficient balance' message that should be displayed:
Steps to reproduce
Error messages or log output
No response
Detection stage
In production (default)
Version
v11.16.16, v12.0.0
Build type
None
Browser
Chrome, Firefox
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: