You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
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
Open network tab and look for nft requests
Make sure you have NFT autodetect from settings enabled
With any given account, click NFT tab --> see a request is sent to the NFT API
Now switch accounts
See the NFT list remains empty and no request is sent to the nft API, unless you refresh it or click the Refresh button