import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router-dom'; import RepeatIcon from '@/material-icons/400-24px/repeat.svg?react'; import type { NotificationGroupReblog } from 'mastodon/models/notification_group'; import { useAppSelector } from 'mastodon/store'; import type { LabelRenderer } from './notification_group_with_status'; import { NotificationGroupWithStatus } from './notification_group_with_status'; const labelRenderer: LabelRenderer = (displayedName, total, seeMoreHref) => { if (total === 1) return ( ); return ( seeMoreHref ? {chunks} : chunks, }} /> ); }; export const NotificationReblog: React.FC<{ notification: NotificationGroupReblog; unread: boolean; }> = ({ notification, unread }) => { const { statusId } = notification; const statusAccount = useAppSelector( (state) => state.accounts.get(state.statuses.getIn([statusId, 'account']) as string) ?.acct, ); return ( ); };