aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/components/Thread.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js
index fd10e86f..abb993f2 100644
--- a/vnext/src/components/Thread.js
+++ b/vnext/src/components/Thread.js
@@ -154,12 +154,12 @@ const linkStyle = {
function Recommendations(props) {
const recomms = props.src;
- return recomms && recomms.length > 0 && (
+ return recomms && (
<div className="msg-recomms">{`Recommended by (${recomms.length}): `}
{
recomms.map(it => (
<Link key={it} to={`/${it}/`}>{it}</Link>
- )).reduce((prev, curr) => [prev, ', ', curr], 0)
+ )).reduce((prev, curr) => [prev, ', ', curr])
}
</div>
) || null;