From 0c415de59874acee53eed8157c2542a5d6ce146b Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Thu, 30 Nov 2023 14:15:50 +0530 Subject: [PATCH] remove unecessary times call getDocumentsDetails function --- microfrontends/SignDocuments/src/Component/SignYourselfPdf.js | 3 --- 1 file changed, 3 deletions(-) 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]);