import React, { useEffect } from 'react'; import { FormattedMessage, useIntl } from 'react-intl'; import FormContainer from '../layout/form-container'; import Header from '../layout/header'; import Footer from '../layout/footer'; import { Link as RouterLink } from 'react-router-dom'; import Typography from '@material-ui/core/Typography'; import Button from '@material-ui/core/Button'; const ForgotPasswordSuccessPage = (): React.ReactElement => { const intl = useIntl(); useEffect(() => { document.title = intl.formatMessage({ id: 'forgotsuccess.page-title', defaultMessage: 'Password Recovered | WiseMapping' }); }); return (