aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-19 10:13:09 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commitf717caed6536bc94cfad2e510574b1dac75a34dc (patch)
tree8a664d69517bf479fd1173e22bd751becd7fa573 /vnext/src/components
parent9de059571fa6ba633977fcc2be6d48ddb8b677d0 (diff)
fix recommendation link
Diffstat (limited to 'vnext/src/components')
-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>