diff options
author | 2018-06-28 16:33:47 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | 96a7f550b4d27dbf8a50f6b692b4be9d734423e5 (patch) | |
tree | 41433f5a6b98788dac3afc8ca1cedac75e489a56 /vnext | |
parent | e1644f8dc734b81b1faf3b3f4488c70e28ef1c21 (diff) |
Revert "empty recommendations fix"
This reverts commit 1aa6f0fa0905e9146235ba6318949437283595c3.
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/src/components/Thread.js | 4 |
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; |