Page MenuHomePhabricator

D6317.id21152.diff
No OneTemporary

D6317.id21152.diff

diff --git a/lib/hooks/inline-engagement-text.react.js b/lib/hooks/inline-engagement-text.react.js
--- a/lib/hooks/inline-engagement-text.react.js
+++ b/lib/hooks/inline-engagement-text.react.js
@@ -7,7 +7,7 @@
return '';
}
const repliesCount = threadInfo.repliesCount || 1;
- return `${repliesCount} ${repliesCount > 1 ? 'replies' : 'reply'}`;
+ return String(repliesCount);
}
export default useInlineEngagementText;

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 6:19 PM (51 m, 18 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2677469
Default Alt Text
D6317.id21152.diff (436 B)

Event Timeline