mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
🧹
This commit is contained in:
@ -10,7 +10,7 @@ export default function FieldTypeSelector(props: any) {
|
|||||||
name: "Signature",
|
name: "Signature",
|
||||||
id: FieldType.SIGNATURE,
|
id: FieldType.SIGNATURE,
|
||||||
},
|
},
|
||||||
{ name: "Date", id: FieldType.DATE },s
|
{ name: "Date", id: FieldType.DATE },
|
||||||
];
|
];
|
||||||
|
|
||||||
const [selectedFieldType, setSelectedFieldType] = useState(fieldTypes[0].id);
|
const [selectedFieldType, setSelectedFieldType] = useState(fieldTypes[0].id);
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
import { Fragment, useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { Disclosure, Menu, Transition } from "@headlessui/react";
|
|
||||||
import Link from "next/link";
|
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import { signOut, useSession } from "next-auth/react";
|
import { useSession } from "next-auth/react";
|
||||||
import { NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib/constants";
|
import { NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib/constants";
|
||||||
|
|
||||||
import Navigation from "./navigation";
|
import Navigation from "./navigation";
|
||||||
|
|||||||
@ -115,7 +115,6 @@ const DashboardPage: NextPageWithLayout = (props: any) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// todo layout as component
|
|
||||||
DashboardPage.getLayout = function getLayout(page: ReactElement) {
|
DashboardPage.getLayout = function getLayout(page: ReactElement) {
|
||||||
return <Layout>{page}</Layout>;
|
return <Layout>{page}</Layout>;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user