Join GitHub today
Fix bug where singular values get plural endings #2069
What type of PR is this? (check all applicable)
I've added two ternaries to add a trailing s to "comment" and "reaction" if and only if the count is not 1.
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Added to documentation?
[optional] What gif best describes this PR or how it makes you feel?
Mar 19, 2019
7 checks passed
Travis CI - Pull Request Build PassedDetails
WIP Ready for reviewDetails
codeclimate All good!Details
codeclimate/diff-coverage 100% (50% threshold)Details
codeclimate/total-coverage 89% (0.0% change)Details
deploy/netlify Deploy preview ready!Details
license/cla Contributor License Agreement is signed.Details
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.