fix: in page section show signed pdf after sign successfully

This commit is contained in:
RaktimaNXG
2024-04-17 19:52:36 +05:30
parent ee77534e35
commit 37b2e4c97a
2 changed files with 4 additions and 7 deletions
+1 -6
View File
@@ -178,12 +178,7 @@ function GuestLogin() {
>
<div className="main_head">
<div className="w-[250px] h-[66px] inline-block overflow-hidden">
<img
src={appLogo}
loading={true}
className="object-contain h-full"
alt="logo"
/>
<img src={appLogo} className="object-contain h-full" alt="logo" />
</div>
</div>
+3 -1
View File
@@ -1001,7 +1001,9 @@ function SignYourSelf() {
{/* this component used to render all pdf pages in left side */}
<RenderAllPdfPage
signPdfUrl={pdfDetails[0] && pdfDetails[0].URL}
signPdfUrl={
pdfDetails[0] && (pdfDetails[0].SignedUrl || pdfDetails[0].URL)
}
allPages={allPages}
setAllPages={setAllPages}
setPageNumber={setPageNumber}