import Head from "next/head"; import Link from "next/link"; import { getCsrfToken } from "next-auth/client"; export default function Login({ csrfToken }) { return (
); } Login.getInitialProps = async ({ req }) => { return { csrfToken: await getCsrfToken({ req }), }; };