From e8a25167107434da003369c0de246b4e2d19de19 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Wed, 1 Mar 2023 14:26:03 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/field-type-selector.tsx | 2 +- apps/web/components/layout.tsx | 6 ++---- apps/web/pages/dashboard.tsx | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/web/components/editor/field-type-selector.tsx b/apps/web/components/editor/field-type-selector.tsx index d0973b829..6dfda8024 100644 --- a/apps/web/components/editor/field-type-selector.tsx +++ b/apps/web/components/editor/field-type-selector.tsx @@ -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); diff --git a/apps/web/components/layout.tsx b/apps/web/components/layout.tsx index c3898fe36..d77a390a1 100644 --- a/apps/web/components/layout.tsx +++ b/apps/web/components/layout.tsx @@ -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"; diff --git a/apps/web/pages/dashboard.tsx b/apps/web/pages/dashboard.tsx index 0af0942f9..9d74cc727 100644 --- a/apps/web/pages/dashboard.tsx +++ b/apps/web/pages/dashboard.tsx @@ -115,7 +115,6 @@ const DashboardPage: NextPageWithLayout = (props: any) => { ); }; -// todo layout as component DashboardPage.getLayout = function getLayout(page: ReactElement) { return {page}; };