import { FormattedMessage, FormattedNumber } from 'react-intl'; import { NavLink } from 'react-router-dom'; import type { NavLinkProps } from 'react-router-dom'; import InfoIcon from '@/material-icons/400-24px/info.svg?react'; import { Icon } from 'flavours/glitch/components/icon'; import type { Account } from 'flavours/glitch/models/account'; const isStatusesPageActive: NavLinkProps['isActive'] = (match, location) => { if (!match) { return false; } return !/\/(followers|following)\/?$/.exec(location.pathname); }; export const ActionBar: React.FC<{ account: Account }> = ({ account }) => { if (account.suspended) { return (