import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router-dom'; import { AvatarOverlay } from 'mastodon/components/avatar_overlay'; import { DisplayName } from 'mastodon/components/display_name'; import { useAppSelector } from 'mastodon/store'; export const MovedNote: React.FC<{ accountId: string; targetAccountId: string; }> = ({ accountId, targetAccountId }) => { const from = useAppSelector((state) => state.accounts.get(accountId)); const to = useAppSelector((state) => state.accounts.get(targetAccountId)); return (