Skip to content

Commit 0c415de

Browse files
remove unecessary times call getDocumentsDetails function
1 parent 411941d commit 0c415de

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

microfrontends/SignDocuments/src/Component/SignYourselfPdf.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ function SignYourSelf() {
178178
if (divRef.current) {
179179
const pdfWidth = pdfNewWidthFun(divRef);
180180
setPdfNewWidth(pdfWidth);
181-
if (documentId) {
182-
getDocumentDetails();
183-
}
184181
}
185182
}, [divRef.current]);
186183

0 commit comments

Comments
 (0)