From f1ca9d29a59fb6f190c465f941acf38a4e64388c Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Tue, 28 Feb 2023 17:12:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20qoc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/pdf-editor.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/web/components/editor/pdf-editor.tsx b/apps/web/components/editor/pdf-editor.tsx index 81110d4f7..89a2bf589 100644 --- a/apps/web/components/editor/pdf-editor.tsx +++ b/apps/web/components/editor/pdf-editor.tsx @@ -2,7 +2,6 @@ import { NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib/constants"; import { useRouter } from "next/router"; import dynamic from "next/dynamic"; import { Fragment, useState } from "react"; -import toast from "react-hot-toast"; import { FieldType } from "@prisma/client"; import { Listbox, RadioGroup, Transition } from "@headlessui/react"; import { CheckIcon, ChevronUpDownIcon } from "@heroicons/react/24/outline"; @@ -22,7 +21,6 @@ export default function PDFEditor(props: any) { ); const noRecipients = props?.document?.Recipient?.length === 0; const [fields, setFields] = useState(props.document.Field); - const [adding, setAdding] = useState(false); const fieldTypes = [ { name: "Signature" }, { name: "Text" }, @@ -167,9 +165,6 @@ export default function PDFEditor(props: any) { { - setAdding(true); - }} >
{fieldTypes.map((fieldType) => (