import React from 'react' import { useTranslation } from 'react-i18next' import { Helmet } from 'react-helmet' import { history } from '../../index' import { isRegistrationAllowed } from '../../utils' export default function Form(props) { const { t } = useTranslation() const pageTitle = `${props.formType .charAt(0) .toUpperCase()}${props.formType.slice(1)}` return (