Skip to content
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

chore(redux): convert preferences to redux slice #6297

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

mperdomo-bc
Copy link
Collaborator

@mperdomo-bc mperdomo-bc commented Feb 21, 2024

I'm getting the slight idea that many of these are not used - as they clash with some things that are in blockchain-wallet-v4-frontend/src/data/modules/settings/reducers.js

@@ -7,23 +7,21 @@ import { selectors } from 'data'
export const getData = createDeepEqualSelector(
[
selectors.core.settings.getCurrency,
selectors.preferences.getPriceChart,
selectors.components.priceChart.getTime,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

preferences.getPriceChart was updated, via the preferences reducer, with the same actions used in the priceChart reducer - so in this case the data obtained was exactly the same

@sstephanou-bc
Copy link

sstephanou-bc commented Feb 21, 2024

Logo
Checkmarx One – Scan Summary & Details18f8a1c4-552b-4fc7-8031-94dd7e5b1bb5

No New Or Fixed Issues Found

@@ -78,7 +90,7 @@ class CryptoLinkHandlingContainer extends React.PureComponent {
<a
href='https://caniuse.com/?search=registerProtocolHandler'
target='_blank'
rel='noopener noreferrrer noreferrer'
rel='noopener noreferrer'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

@mperdomo-bc mperdomo-bc merged commit e5e5b25 into development Mar 7, 2024
2 checks passed
@mperdomo-bc mperdomo-bc deleted the redux-slice-preferences branch March 7, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants