diff options
Diffstat (limited to 'vnext/src/components')
-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 ed97f4cf3..db38ee2de 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -1,4 +1,5 @@ import React from 'react'; +import { Link } from 'react-router-dom'; import * as qs from 'query-string'; import moment from 'moment'; @@ -72,7 +73,7 @@ export default class Thread extends React.Component { <div className="msg-recomms">{`Recommended by (${msg.recommendations.length}): `} { msg.recommendations.map(it => ( - <a href={`/${it}/`}>{it}</a> + <Link to={`/${it}/`}>{it}</Link> )).reduce((prev, curr) => [prev, ', ', curr]) } </div> |