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

Simplify global state data type #827

Merged

Conversation

zakpatterson
Copy link
Collaborator

@zakpatterson zakpatterson commented Jan 2, 2022

With a minor simplification we don't need === undefined checks in
several places.

This is a follow-on to #778, also removes some mistaken commented code

What kind of change does this PR introduce? (delete not applicable)

  • Code style update
  • Refactor

With a minor simplification we don't need === undefined checks in
several places.
@codecov
Copy link

codecov bot commented Jan 2, 2022

Codecov Report

Merging #827 (9e60eaf) into master (88bf134) will decrease coverage by 0.05%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #827      +/-   ##
==========================================
- Coverage   70.57%   70.51%   -0.06%     
==========================================
  Files         194      195       +1     
  Lines        6158     6153       -5     
  Branches     1010     1002       -8     
==========================================
- Hits         4346     4339       -7     
- Misses       1797     1800       +3     
+ Partials       15       14       -1     
Impacted Files Coverage Δ
src/components/DataPropagator.tsx 0.00% <0.00%> (ø)
src/redux/yearDispatch.ts 100.00% <ø> (+18.18%) ⬆️
src/components/CreatePDF.tsx 64.81% <100.00%> (ø)
src/components/Summary.tsx 51.51% <100.00%> (-4.05%) ⬇️
src/redux/TaxesState.ts 100.00% <100.00%> (ø)
src/redux/data.ts 100.00% <100.00%> (ø)
src/redux/store.ts 73.33% <100.00%> (ø)
src/forms/Y2020/irsForms/ScheduleEIC.ts 78.77% <0.00%> (-1.68%) ⬇️
src/forms/Y2021/irsForms/ScheduleEIC.ts 78.77% <0.00%> (-0.56%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 88bf134...9e60eaf. Read the comment docs.

@zakpatterson zakpatterson merged commit c6c035b into ustaxes:master Jan 2, 2022
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.

1 participant