mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 17:51:49 +10:00
21 lines
609 B
TypeScript
21 lines
609 B
TypeScript
import { useSession } from "next-auth/react";
|
|
import type { ReactElement } from "react";
|
|
import Layout from "../components/layout";
|
|
import Settings from "../components/settings";
|
|
import type { NextPageWithLayout } from "./_app";
|
|
import { SessionProvider } from "next-auth/react";
|
|
|
|
const DocumentsPage: NextPageWithLayout = () => {
|
|
const { data: session } = useSession();
|
|
|
|
console.log("Session:" + JSON.stringify(session));
|
|
|
|
return <>This is the documents page</>;
|
|
};
|
|
|
|
DocumentsPage.getLayout = function getLayout(page: ReactElement) {
|
|
return <Layout>{page}</Layout>;
|
|
};
|
|
|
|
export default DocumentsPage;
|