From: Thibaut Girka Date: Wed, 16 Jan 2019 13:25:58 +0000 (+0100) Subject: [Glitch] Make hashtag search results link to the hashtag URL X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=92830029cac92a60719bd9f9cabc5392d0cdf968;p=mastodon.git [Glitch] Make hashtag search results link to the hashtag URL Port 6cfb357940b3855ce53f6d1dfd87b1b32840a302 to glitch-soc --- diff --git a/app/javascript/flavours/glitch/components/hashtag.js b/app/javascript/flavours/glitch/components/hashtag.js index 88689cc6c..d75edd994 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']))} }} />