mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
27 lines
679 B
TypeScript
27 lines
679 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";
|
|
import Head from "next/head";
|
|
|
|
const DocumentsPage: NextPageWithLayout = () => {
|
|
const { data: session } = useSession();
|
|
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Documents | Documenso</title>
|
|
</Head>
|
|
This is the documents page
|
|
</>
|
|
);
|
|
};
|
|
|
|
DocumentsPage.getLayout = function getLayout(page: ReactElement) {
|
|
return <Layout>{page}</Layout>;
|
|
};
|
|
|
|
export default DocumentsPage;
|