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

Refactor Duplicate State #548

Open
1 of 2 tasks
dcts opened this issue Aug 7, 2024 · 0 comments
Open
1 of 2 tasks

Refactor Duplicate State #548

dcts opened this issue Aug 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dcts
Copy link
Contributor

dcts commented Aug 7, 2024

We have the following duplicate state in Redux:

  • pairsList is stored in both pairSelector and RewardSlice. We should only keep the pairsList in pairSelector slice, as its a more natural fit.
  •  kpis are fetched twice, on the landing page and on /kpis page. We should fetch it once and store it inside redux state (I suggest to create a new kpiSlice)
@dcts dcts added the enhancement New feature or request label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants