[Bug]: Autodetect NFT - Autodetect NFT doesn't trigger an API call when I switch to another account while being in the NFT tab, making no tokens detected unless I refresh #28654
Labels
regression-prod-12.6.2
Regression bug that was found in production in release 12.6.2
release-12.18.0
Issue or pull request that will be included in release 12.18.0
Sev2-normal
Normal severity; minor loss of service or inconvenience.
team-assets
type-bug
Something isn't working
Describe the bug
Anytime I go to the NFT tab, a request is sent to the NFT API to autodetect NFTs for that account, when that feature is enabled. However, in the case where I switch to another account while being in the NFT tab, I can see how no request is sent to the NFT API meaning, autodetect won't happen (until the user either clicks refresh, or refreshes the wallet / goes again to the NFT tab)
Expected behavior
When we switch accounts, if we are in the NFT tab, a request to the nft api should be made to autodetect tokens for that account (if the feature is enabled from settings)
Screenshots/Recordings
nft-autodetect-token.mp4
Steps to reproduce
Error messages or log output
No response
Detection stage
In production (default)
Version
12.6.2
Build type
None
Browser
Chrome
Operating system
Linux
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: