Skip to content

Commit 450a971

Browse files
remove isSigner exist checking from local storage
1 parent f56faf3 commit 450a971

File tree

1 file changed

+2
-3
lines changed
  • microfrontends/SignDocuments/src/Component/component

1 file changed

+2
-3
lines changed

microfrontends/SignDocuments/src/Component/component/renderPdf.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ function RenderPdf({
4242
const isMobile = window.innerWidth < 767;
4343
const newWidth = window.innerWidth;
4444
const scale = isMobile ? pdfOriginalWidth / newWidth : 1;
45-
//check isSigner is present in local if yes than handle login flow header in mobile view
46-
const isSigner = localStorage.getItem("isSigner");
45+
4746
// handle signature block width and height according to screen
4847
const posWidth = (pos) => {
4948
let width;
@@ -269,7 +268,7 @@ function RenderPdf({
269268
<div
270269
style={{
271270
border: "0.1px solid #ebe8e8",
272-
marginTop: isSigner && "30px"
271+
marginTop:"30px"
273272
}}
274273
ref={drop}
275274
id="container"

0 commit comments

Comments
 (0)