import Link from 'next/link' import {Button, FormController} from '~/components/form' import Router from 'next/router' import useUser from '~/hooks/useUser' export default function InvalidEmail() { const user = useUser() if(user.email_confirmed) Router.push('/account') return ( <>

Invalid Confirmation Link

Sorry, but the email confirmation link you used was invalid or expired.

If you've gotten this error before, please contact us so we can help resolve it. Otherwise, feel free to try sending the email again.

{window.location.href = '/account/email/confirm'}}> ) }