diff options
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r-- | vnext/src/components/Thread.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index cf7291a8..7a1b48f3 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -11,6 +11,7 @@ import MessageInput from './MessageInput'; import Spinner from './Spinner'; import Avatar from './Avatar'; import Button from './Button'; +import { UserLink } from './UserInfo'; import { format } from '../utils/embed'; @@ -169,7 +170,7 @@ function Recommendations({ forMessage, ...rest }) { <div className="msg-recomms">{'Recommended by '} { recommendations.map(it => ( - <Link key={it} to={`/${it}/`}>{it}</Link> + <UserLink user={it} /> )).reduce((prev, curr) => [prev, ', ', curr]) } { |