This commit is contained in:
Timur Ercan
2023-03-01 14:26:03 +01:00
parent 59c53d5bf4
commit e8a2516710
3 changed files with 3 additions and 6 deletions

View File

@ -10,7 +10,7 @@ export default function FieldTypeSelector(props: any) {
name: "Signature",
id: FieldType.SIGNATURE,
},
{ name: "Date", id: FieldType.DATE },s
{ name: "Date", id: FieldType.DATE },
];
const [selectedFieldType, setSelectedFieldType] = useState(fieldTypes[0].id);

View File

@ -1,8 +1,6 @@
import { Fragment, useEffect } from "react";
import { Disclosure, Menu, Transition } from "@headlessui/react";
import Link from "next/link";
import { useEffect } from "react";
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 Navigation from "./navigation";

View File

@ -115,7 +115,6 @@ const DashboardPage: NextPageWithLayout = (props: any) => {
);
};
// todo layout as component
DashboardPage.getLayout = function getLayout(page: ReactElement) {
return <Layout>{page}</Layout>;
};