-
-
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
refactor: Use selectors for currency rate controller state access #6752
refactor: Use selectors for currency rate controller state access #6752
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. |
I have read the CLA Document and I hereby sign the CLA |
cd16776
to
52b87b9
Compare
52b87b9
to
c20ad78
Compare
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.
Looks great! Just a couple of small suggestions
Kudos, SonarCloud Quality Gate passed! |
Passing iOS e2e test run: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/97ec060a-b2fe-4f8d-99ed-b42c285de78c |
Description
Currency Rate controller Redux state is now accessed excusively through selectors. This makes future state changes easier to manage.
Most of these changes consist of replacing the direct access to CurrencyRateController State, by selectors.
Issue
Relates to https://github.com/MetaMask/mobile-planning/issues/1061
Checklist