From d950fc9e49630c01005396513bea2faf6e0da004 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Tue, 28 Feb 2023 20:09:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/pdf-signer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/components/editor/pdf-signer.tsx b/apps/web/components/editor/pdf-signer.tsx index 3b2a63d67..1f36e7c79 100644 --- a/apps/web/components/editor/pdf-signer.tsx +++ b/apps/web/components/editor/pdf-signer.tsx @@ -115,7 +115,7 @@ export default function PDFSigner(props: any) { fields.filter((field) => field.type === FieldType.SIGNATURE) .length === 0 ) - createFieldForFreeSignature(e, page, props.recipient); + addFreeSignature(e, page, props.recipient); }} onMouseUp={() => {}} onDelete={onDeleteHandler} @@ -133,7 +133,7 @@ export default function PDFSigner(props: any) { } } - function createFieldForFreeSignature( + function addFreeSignature( e: any, page: number, recipient: any