From 426673f17a8952c5683fb4973e9f0aaaea7b229e 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 65c546f9b0745de5e91d9305e06e72619d85daf7 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']))} }} />