From a9fef0ca14875626bc0b2991bbfef57ff525aa9b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 27 Sep 2020 20:51:46 -0500 Subject: [PATCH] Don't import unused react-sparklines, #439 --- app/soapbox/components/hashtag.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/soapbox/components/hashtag.js b/app/soapbox/components/hashtag.js index 2a0017c9c..2872a236a 100644 --- a/app/soapbox/components/hashtag.js +++ b/app/soapbox/components/hashtag.js @@ -1,5 +1,5 @@ import React from 'react'; -import { Sparklines, SparklinesCurve } from 'react-sparklines'; +// import { Sparklines, SparklinesCurve } from 'react-sparklines'; import { FormattedMessage } from 'react-intl'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Permalink from './permalink'; @@ -17,11 +17,12 @@ const Hashtag = ({ hashtag }) => ( } - {hashtag.get('history') &&
+ {/* Pleroma doesn't support tag history yet */} + {/* hashtag.get('history') &&
day.get('uses')).toArray()}> -
} +
*/} );