import { useSession } from "next-auth/react"; import Head from "next/head"; import type { ReactElement } from "react"; import Layout from "../components/layout"; import Settings from "../components/settings"; import type { NextPageWithLayout } from "./_app"; const DashboardPage: NextPageWithLayout = () => { const status = useSession(); return ( <> Dashboard | Documenso

This is the dashboard page.

Mail: {status?.data?.user?.email?.toString()}
{status.status}
); }; // todo layout as component DashboardPage.getLayout = function getLayout(page: ReactElement) { return {page}; }; export default DashboardPage;