diff --git a/app/javascript/mastodon/components/status_quoted.tsx b/app/javascript/mastodon/components/status_quoted.tsx index 93a5ad869..2726b1a55 100644 --- a/app/javascript/mastodon/components/status_quoted.tsx +++ b/app/javascript/mastodon/components/status_quoted.tsx @@ -2,8 +2,6 @@ import { useEffect, useMemo, useRef } from 'react'; import { FormattedMessage } from 'react-intl'; -import classNames from 'classnames'; - import type { Map as ImmutableMap } from 'immutable'; import { LearnMoreLink } from 'mastodon/components/learn_more_link'; @@ -13,36 +11,20 @@ import type { RootState } from 'mastodon/store'; import { useAppDispatch, useAppSelector } from 'mastodon/store'; import { fetchStatus } from '../actions/statuses'; +import type { Account } from '../models/account'; import { makeGetStatusWithExtraInfo } from '../selectors'; import { Button } from './button'; const MAX_QUOTE_POSTS_NESTING_LEVEL = 1; -const QuoteWrapper: React.FC<{ - isError?: boolean; - contextType?: string; - onQuoteCancel?: () => void; - children: React.ReactElement; -}> = ({ isError, contextType, onQuoteCancel, children }) => { - return ( -