-
Notifications
You must be signed in to change notification settings - Fork 7
Conversation
Deploy preview for vw-bmd ready! Built with commit 2e6064c |
1559d86
to
57be16e
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.
Submitting initial comment now, will add more in a bit.
ed83441
to
da9b82c
Compare
da9b82c
to
07e15d7
Compare
bc592ca
to
8c3f8f7
Compare
1a52cc8
to
b05c941
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.
a couple of changes suggested, in particular please take a look at the district-666
which I think is unnecessary and possibly incorrect, but otherwise good to go.
All @benadida's feedback has been addressed/fixed. Awaiting @eventualbuddha review. |
b3e4aa8
to
d113295
Compare
@eventualbuddha - If you're happy with this PR, please feel free to merge it. |
This changes the types for the candidate and yesno tallies from arrays into objects. For candidate contests, it splits the former single array that contained both write-ins and ballot candidates into separate properties on an object. For yesno contests, instead of a 2-element tuple we now have an object with "yes" and "no" properties. I think this is simpler and requires less casting. It also adds a few assertions for situations which shouldn't happen but otherwise might silently fail.
This was incorrectly removed by eslint-plugin-react v7.15.x due to a bug. It's been fixed in jsx-eslint/eslint-plugin-react#2437, so this commit updates eslint-plugin-react and re-adds the whitespace.
ee3a066
to
2e6064c
Compare
Will do. |
Tasks:
Fixes #737