import { FC } from 'react' import { useTranslation } from 'react-i18next' import getMeta from '@/utils/meta' export type RequireAcceptData = { projectName?: string } export const RequireAcceptScreen: FC<{ requireAcceptData: RequireAcceptData sendPostRequest: (confirmedByUser: boolean) => void }> = ({ requireAcceptData, sendPostRequest }) => { const { t } = useTranslation() const user = getMeta('ol-user') return (

{t('invited_to_join')}
{requireAcceptData.projectName || 'This project'}

{user && (

{t('accepting_invite_as')} {user.email}

)}
) }