import { useRouter } from 'next/router' import { HStack, VStack } from '../../components/elements/LayoutPrimitives' import { PageMetaData } from '../../components/patterns/PageMetaData' import { useEffect, useState } from 'react' import { parseErrorCodes } from '../../lib/queryParamParser' import { StyledText } from '../../components/elements/StyledText' import { Button } from '../../components/elements/Button' import { AuthLayout } from '../../components/templates/AuthLayout' export default function ConfirmEmailPage(): JSX.Element { const router = useRouter() return ( Verification error The verification code supplied is invalid or has expired. Please login with your email and password again to generate a new verification email. Verifications can only be used once, and expire after five minutes. ) }