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.

-