Fix listing card view reactions formatting (#8988)
* Fix the listing card view reactions format * Update test to reflect change made in the code base
This commit is contained in:
parent
5eaeb584b3
commit
ab1afd94b0
2 changed files with 3 additions and 3 deletions
|
|
@ -157,7 +157,7 @@ Object {
|
|||
class="hidden s:inline"
|
||||
>
|
||||
|
||||
reaction
|
||||
reactions
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
|
|
@ -365,7 +365,7 @@ Object {
|
|||
class="hidden s:inline"
|
||||
>
|
||||
|
||||
reaction
|
||||
reactions
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export const ReactionsCount = ({ article }) => {
|
|||
{totalReactions}
|
||||
<span className="hidden s:inline">
|
||||
|
||||
{`${totalReactions > 1 ? 'reactions' : 'reaction'}`}
|
||||
{`${totalReactions == 1 ? 'reaction' : 'reactions'}`}
|
||||
</span>
|
||||
</span>
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue