aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/components/Thread.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js
index ed97f4cf..db38ee2d 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>