From 836e952ba07e92ccf48c60efa1c413a221ca3ca1 Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Fri, 10 May 2024 18:14:19 +0530 Subject: [PATCH] fix: add comment --- apps/OpenSign/src/components/pdf/RenderAllPdfPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/OpenSign/src/components/pdf/RenderAllPdfPage.js b/apps/OpenSign/src/components/pdf/RenderAllPdfPage.js index f8642ab9a..d2bf93880 100644 --- a/apps/OpenSign/src/components/pdf/RenderAllPdfPage.js +++ b/apps/OpenSign/src/components/pdf/RenderAllPdfPage.js @@ -17,6 +17,7 @@ function RenderAllPdfPage({ //set all number of pages after load pdf function onDocumentLoad({ numPages }) { setAllPages(numPages); + //check is signerPos exist then save page number exist in signerPos array if (signerPos) { const checkUser = signerPos.filter( (data) => data.signerObjId === signerObjectId @@ -32,7 +33,7 @@ function RenderAllPdfPage({ } } - //'function `addSignatureBookmark`f function is utilized to display the page where the user's signature is located. + //'function `addSignatureBookmark` is used to display the page where the user's signature is located. const addSignatureBookmark = (index) => { const ispageNumber = signPageNumber.includes(index + 1); return (