mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
design ideas
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { useSession } from "next-auth/react";
|
||||
import Head from "next/head";
|
||||
import type { ReactElement } from "react";
|
||||
import Layout from "../components/layout";
|
||||
@ -5,6 +6,7 @@ import Settings from "../components/settings";
|
||||
import type { NextPageWithLayout } from "./_app";
|
||||
|
||||
const DashboardPage: NextPageWithLayout = () => {
|
||||
const status = useSession();
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
@ -12,6 +14,8 @@ const DashboardPage: NextPageWithLayout = () => {
|
||||
</Head>
|
||||
<div>
|
||||
<p>This is the dashboard page.</p>
|
||||
<div>Mail: {status?.data?.user?.email?.toString()}</div>
|
||||
<div>{status.status}</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user