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

fix: reactions count grammar #69

Merged

Conversation

takanome-dev
Copy link
Contributor

Description

This PR updates the HighlightCardService and card-footer files.

In HighlightCardService, the code has been modified to improve readability and remove unnecessary code. The changes include:

  • Refactoring the code to use destructuring assignment for better readability.
  • Removing unnecessary semicolons and parentheses.
  • Simplifying the code by using arrow functions and template literals.

In card-footer, the code has been modified to display the correct plural form of "Reaction" based on the number of reactions.

These changes improve the code quality and maintainability.

Note

The changes in HighlightCardService has been made when I ran npm run format to fix eslint issues

Generated using OpenSauced.

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation Update
  • 🎨 Style
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ”₯ Performance Improvements
  • βœ… Test
  • πŸ€– Build
  • πŸ” CI
  • πŸ“¦ Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Fixes #67

Mobile & Desktop Screenshots/Recordings

Before
13-before
After
13-after

Added tests?

  • πŸ‘ yes
  • πŸ™… no, because they aren't needed
  • πŸ™‹ no, because I need help

Added to documentation?

  • πŸ“œ README.md
  • πŸ““ docs.opensauced.pizza
  • πŸ• dev.to/opensauced
  • πŸ“• storybook
  • πŸ™… no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@brandonroberts brandonroberts merged commit 765696a into open-sauced:beta Aug 16, 2023
5 checks passed
github-actions bot pushed a commit that referenced this pull request Aug 16, 2023
## [2.4.0-beta.2](v2.4.0-beta.1...v2.4.0-beta.2) (2023-08-16)

### πŸ› Bug Fixes

* update reactions count grammar ([#69](#69)) ([765696a](765696a))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 2.4.0-beta.2 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

github-actions bot pushed a commit that referenced this pull request Aug 16, 2023
@takanome-dev takanome-dev deleted the 67-fix-reactions-count-grammar branch August 16, 2023 14:00
github-actions bot pushed a commit that referenced this pull request Aug 16, 2023
### [2.4.1-beta.1](v2.4.0...v2.4.1-beta.1) (2023-08-16)

### πŸ› Bug Fixes

* update reactions count grammar ([#69](#69)) ([765696a](765696a))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 2.4.1-beta.1 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

github-actions bot pushed a commit that referenced this pull request Aug 16, 2023
### [2.4.1](v2.4.0...v2.4.1) (2023-08-16)

### πŸ› Bug Fixes

* update reactions count grammar ([#69](#69)) ([765696a](765696a))
@github-actions
Copy link

πŸŽ‰ This PR is included in version 2.4.1 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: reactions need to be singular when 1
3 participants