From abb9ea99970dce4b855a0446e7b50c386e654d6b Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Tue, 7 Mar 2023 12:37:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20cancel=20sign=20dialog=20exeptio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/pdf-signer.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/components/editor/pdf-signer.tsx b/apps/web/components/editor/pdf-signer.tsx index fb4ce2224..3448772d6 100644 --- a/apps/web/components/editor/pdf-signer.tsx +++ b/apps/web/components/editor/pdf-signer.tsx @@ -45,6 +45,8 @@ export default function PDFSigner(props: any) { return; } + if (!dialogResult) return; + const signature = { fieldId: dialogField.id, type: dialogResult.type,