design ideas

This commit is contained in:
Timur Ercan
2023-01-11 15:15:56 +01:00
parent 442608811a
commit 4ad760fcbe
4 changed files with 21 additions and 8 deletions

View File

@ -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>
</>
);