COVID-19-electronic-health-system / Corona-tracker

An easy-to-use PWA to monitor the user's wellness and learn about COVID-19.
https://coronatracker.me/
MIT License
235 stars 101 forks source link

Redux cleanup #614

Closed fallon7284 closed 4 years ago

fallon7284 commented 4 years ago

IMPORTANT: Please do not create a Pull Request without creating an issue first.

Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.

Do not change the following line aside from replacing YOUR-ISSUE-HERE with the issue this PR fixes

fixes #566

Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?

This PR cleans up a lot of redundant, unused code in our redux directory. It eliminates unused actions and reducers /navigation, /temperature, /behavior and it combines disclaimer answer state and actions within onboarding reducer and action files. Hopefully this contributes to clarity of our codebase and readability in our redux logs.

Test plan (required)

Unused redux code was not being tested, so didn't require any changes to tests.

Final Checklist