From d494f8bbf1df9c45bf360b3c697e9e7770a44af9 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Fri, 17 Feb 2023 12:28:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/pdf-signer.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/web/components/editor/pdf-signer.tsx b/apps/web/components/editor/pdf-signer.tsx index 17f98c09a..801d01956 100644 --- a/apps/web/components/editor/pdf-signer.tsx +++ b/apps/web/components/editor/pdf-signer.tsx @@ -14,6 +14,7 @@ const PDFViewer = dynamic(() => import("./pdf-viewer"), { export default function PDFSigner(props: any) { const router = useRouter(); const [open, setOpen] = useState(false); + const [fields, setFields] = useState(props.fields); function onClick(item: any) { if (item.type === "SIGNATURE") { @@ -24,7 +25,7 @@ export default function PDFSigner(props: any) { return ( <> -
+
@@ -34,7 +35,11 @@ export default function PDFSigner(props: any) { Timur Ercan (timur.ercan31@gmail.com) would like you to sign this document.

-