mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-31 20:29:40 +02:00
remove unecessary times call getDocumentsDetails function
This commit is contained in:
@@ -178,9 +178,6 @@ function SignYourSelf() {
|
||||
if (divRef.current) {
|
||||
const pdfWidth = pdfNewWidthFun(divRef);
|
||||
setPdfNewWidth(pdfWidth);
|
||||
if (documentId) {
|
||||
getDocumentDetails();
|
||||
}
|
||||
}
|
||||
}, [divRef.current]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user