import { Entity } from 'megalodon' import { FaUserPlus } from 'react-icons/fa6' import { FormattedMessage, useIntl } from 'react-intl' import emojify from '@/utils/emojify' import { Avatar } from '@material-tailwind/react' type Props = { notification: Entity.Notification } export default function Follow(props: Props) { const { formatMessage } = useIntl() return (
@{props.notification.account.acct}
) } const actionId = (notification: Entity.Notification) => { if (notification.type === 'follow_request') { return 'notification.follow_request.body' } else { return 'notification.follow.body' } }