Skip to content

The Open Source DocuSign Alternative.

🐛 cancel sign dialog exeption

Timur Ercanabb9ea99970d
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,