-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: main token balance not updating when switching accounts #9812
fix: main token balance not updating when switching accounts #9812
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. |
Bitrise✅✅✅ Commit hash: c53d581 Note
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a comment
Bitrise❌❌❌ Commit hash: dcbc5c1 Note
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Bitrise✅✅✅ Commit hash: e46238d Note
|
…ub.com:MetaMask/metamask-mobile into fix/balance-between-accounts-switching-network
Bitrise❌❌❌ Commit hash: 2541672 Note
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit tests looks good! Amazing that we can test the re renders caused by our selectors!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Bitrise✅✅✅ Commit hash: 02e7521 Note
|
Bitrise✅✅✅ Commit hash: 509ac4d Note
|
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
We should re-use the other selectors to make sure the deepEqual updates when the other values are updated.
If we access those directly that will not trigger an update for the deeEqual selector.
Related issues
Fixes: #1818
Manual testing steps
Screenshots/Recordings
Before
before-selector-fix.mov
After
fixed-selectors.mov
Pre-merge author checklist
Pre-merge reviewer checklist