diff --git a/app/javascript/mastodon/components/hashtag.tsx b/app/javascript/mastodon/components/hashtag.tsx index e1eeaa3e5..4e8110eef 100644 --- a/app/javascript/mastodon/components/hashtag.tsx +++ b/app/javascript/mastodon/components/hashtag.tsx @@ -9,7 +9,7 @@ import type Immutable from 'immutable'; import { Sparklines, SparklinesCurve } from 'react-sparklines'; -import { Permalink } from 'mastodon/components/permalink'; +import { Link } from 'react-router-dom'; import { ShortNumber } from 'mastodon/components/short_number'; import { Skeleton } from 'mastodon/components/skeleton'; @@ -103,7 +103,7 @@ export const Hashtag: React.FC = ({ }) => (
- + {name ? ( <> #{name} @@ -111,7 +111,7 @@ export const Hashtag: React.FC = ({ ) : ( )} - + {description ? ( {description} diff --git a/app/javascript/mastodon/components/status_content.jsx b/app/javascript/mastodon/components/status_content.jsx index c38b1faa4..1497fd474 100644 --- a/app/javascript/mastodon/components/status_content.jsx +++ b/app/javascript/mastodon/components/status_content.jsx @@ -11,7 +11,6 @@ import { connect } from 'react-redux'; import ChevronRightIcon from '@/material-icons/400-24px/chevron_right.svg?react'; import { Icon } from 'mastodon/components/icon'; -import { Permalink } from 'mastodon/components/permalink'; import PollContainer from 'mastodon/containers/poll_container'; import { identityContextPropShape, withIdentity } from 'mastodon/identity_context'; import { autoPlayGif, languages as preloadedLanguages, expandUsernames } from 'mastodon/initial_state';