-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redirection on unknown token. (#5528)
# Motivation When the user is on the imported token wallet page and the sign-out timer expires, the page reloads, leaving the user on an empty page. This happens because imported tokens are available only when the user is signed in. Upon sign-out, we no longer know the type of the token (whether it’s ICRC or not). Rather than making guesses, it’s more reliable to navigate the user to the main tokens page in this case. # Changes - Navigate to the tokens table when it’s not possible to identify the token. Since this logic is not intended to be reused, it is implemented directly in the component rather than in a derived store. # Tests - Added. # Todos - [ ] Add entry to changelog (if necessary). Not necessary.
- Loading branch information
1 parent
a1786f0
commit 8edb97d
Showing
2 changed files
with
59 additions
and
1 deletion.
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