fix: pagenumber issue

This commit is contained in:
RaktimaNXG
2024-06-21 16:56:43 +05:30
parent a18aee0be1
commit cdff7e252d
+1 -1
View File
@@ -851,7 +851,7 @@ function SignYourSelf() {
//function for get pdf page details
const pageDetails = async (pdf) => {
const firstPage = await pdf.getPage(2);
const firstPage = await pdf.getPage(1);
const scale = 1;
const { width, height } = firstPage.getViewport({ scale });
setPdfOriginalWH({ width: width, height: height });