Skip to content

🔥 The free & Open Source DocuSign alternative

remove unecessary times call getDocumentsDetails function

RaktimaNXG0c415de59874
diff --git a/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js b/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js
index d72c06707..e816f99d6 100644
--- a/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js
+++ b/microfrontends/SignDocuments/src/Component/SignYourselfPdf.js
@@ -178,9 +178,6 @@ function SignYourSelf() {
if (divRef.current) {
const pdfWidth = pdfNewWidthFun(divRef);
setPdfNewWidth(pdfWidth);
- if (documentId) {
- getDocumentDetails();
- }
}
}, [divRef.current]);