-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GIX-2183: Unnecessary error toast (#4087)
# Motivation In mainnet, when the user visits twice the Tokens page a toast error might appear because of the background task to call update_balance on the ckBTC minter. In this PR, do not show the toast error if `uiIndicators` is set to `false`. # Changes * In `updateBalance` ckbtc minter service, show error toast only when `uiIndicators` is `true`. # Tests * Add a test for the new functionality. * Tested manually that when the api endpoint raises this error the toast is not shown. # Todos - [ ] Add entry to changelog (if necessary). Not necessary.
- Loading branch information
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters