import { useRouter } from 'next/router'; import Head from 'next/head'; import Link from 'next/link'; export default function Error() { const router = useRouter() const { error } = router.query return (
An error occurred when logging you in. Head back to the login screen and try again.