fix: fix nfts displayed on account and refactor collectibles component#9206
fix: fix nfts displayed on account and refactor collectibles component#9206
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
|
Also, can you update this core branch with these changes to run the script from it? |
|
|
Has been addressed and needed to merged in.



Description
This PR fixes this issue #9196.
Patch created considering this open PR on core MetaMask/core#4143
When a user imports an account with Nfts then switches back and forth betwen two accounts, at some point he will see nfts from one account appear on another.
Link to core branch for the patch : https://github.com/MetaMask/core/compare/patch/mobile-assets-controllers-v-12-0-0...patch/mobile-assets-controllers-v-12-0-0-nft-bug?expand=1
Related issues
Fixes: #9196.
Core PR: MetaMask/core#4143
Manual testing steps
Screenshots/Recordings
Before
Screen.Recording.2024-04-11.at.17.23.06.mov
After
Switching back and forth between accounts
Screen.Recording.2024-04-11.at.17.29.56.mov
Pre-merge author checklist
Pre-merge reviewer checklist