From 92830029cac92a60719bd9f9cabc5392d0cdf968 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 16 Jan 2019 14:25:58 +0100 Subject: [PATCH] [Glitch] Make hashtag search results link to the hashtag URL Port 6cfb357940b3855ce53f6d1dfd87b1b32840a302 to glitch-soc --- app/javascript/flavours/glitch/components/hashtag.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/components/hashtag.js b/app/javascript/flavours/glitch/components/hashtag.js index 88689cc6cb..d75edd9947 100644 --- a/app/javascript/flavours/glitch/components/hashtag.js +++ b/app/javascript/flavours/glitch/components/hashtag.js @@ -1,16 +1,16 @@ import React from 'react'; import { Sparklines, SparklinesCurve } from 'react-sparklines'; -import { Link } from 'react-router-dom'; import { FormattedMessage } from 'react-intl'; import ImmutablePropTypes from 'react-immutable-proptypes'; +import Permalink from './permalink'; import { shortNumberFormat } from 'flavours/glitch/util/numbers'; const Hashtag = ({ hashtag }) => (
- + #{hashtag.get('name')} - + {shortNumberFormat(hashtag.getIn(['history', 0, 'accounts']))} }} />