Files
sign/apps/web/pages/dashboard.tsx

29 lines
751 B
TypeScript
Raw Normal View History

2023-01-11 15:15:56 +01:00
import { useSession } from "next-auth/react";
2023-01-04 16:28:32 +01:00
import Head from "next/head";
2022-12-06 20:44:21 +01:00
import type { ReactElement } from "react";
import Layout from "../components/layout";
import Settings from "../components/settings";
import type { NextPageWithLayout } from "./_app";
const DashboardPage: NextPageWithLayout = () => {
2023-01-11 15:15:56 +01:00
const status = useSession();
2023-01-04 16:28:32 +01:00
return (
<>
<Head>
<title>Dashboard | Documenso</title>
</Head>
<div>
<p>This is the dashboard page.</p>
2023-01-11 15:15:56 +01:00
<div>Mail: {status?.data?.user?.email?.toString()}</div>
<div>{status.status}</div>
2023-01-04 16:28:32 +01:00
</div>
</>
);
2022-12-06 20:44:21 +01:00
};
DashboardPage.getLayout = function getLayout(page: ReactElement) {
return <Layout>{page}</Layout>;
};
export default DashboardPage;