Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3491226
D6317.id21152.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
436 B
Referenced Files
None
Subscribers
None
D6317.id21152.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6317: [lib] remove the word reply/replies from InlineEngagement
Attached
Detach File
Event Timeline
Log In to Comment