From 450a971ca983ed43ead458fb07c1a88a50f15866 Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Thu, 9 Nov 2023 14:30:17 +0530 Subject: [PATCH] remove isSigner exist checking from local storage --- .../SignDocuments/src/Component/component/renderPdf.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/microfrontends/SignDocuments/src/Component/component/renderPdf.js b/microfrontends/SignDocuments/src/Component/component/renderPdf.js index 40456eb6c..8c8416a43 100644 --- a/microfrontends/SignDocuments/src/Component/component/renderPdf.js +++ b/microfrontends/SignDocuments/src/Component/component/renderPdf.js @@ -42,8 +42,7 @@ function RenderPdf({ const isMobile = window.innerWidth < 767; const newWidth = window.innerWidth; const scale = isMobile ? pdfOriginalWidth / newWidth : 1; - //check isSigner is present in local if yes than handle login flow header in mobile view - const isSigner = localStorage.getItem("isSigner"); + // handle signature block width and height according to screen const posWidth = (pos) => { let width; @@ -269,7 +268,7 @@ function RenderPdf({