Page MenuHomePhabricator

D8317.diff
No OneTemporary

D8317.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 String(repliesCount);
+ return `${repliesCount} ${repliesCount > 1 ? 'replies' : 'reply'}`;
}
export default useInlineEngagementText;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 12:37 PM (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2600961
Default Alt Text
D8317.diff (436 B)

Event Timeline