Skip to content

🔥 The free & Open Source DocuSign alternative

refactor code

RaktimaNXG11384192baba
diff --git a/apps/OpenSign/src/components/pdf/RecipientList.js b/apps/OpenSign/src/components/pdf/RecipientList.js
index f31dda61b..780ee2a5d 100644
--- a/apps/OpenSign/src/components/pdf/RecipientList.js
+++ b/apps/OpenSign/src/components/pdf/RecipientList.js
@@ -231,7 +231,9 @@ const RecipientList = (props) => {
</>
)}
{obj.Name && (
- <span className={"useEmail"}>{obj?.Role || obj.Email}</span>
+ <span className={"useEmail"}>
+ {obj?.Role || obj?.Email}
+ </span>
)}
</div>
</div>
diff --git a/apps/OpenSign/src/layout/HomeLayout.js b/apps/OpenSign/src/layout/HomeLayout.js
index 23dbeb06a..4a40ee111 100644
--- a/apps/OpenSign/src/layout/HomeLayout.js
+++ b/apps/OpenSign/src/layout/HomeLayout.js
@@ -295,7 +295,7 @@ const HomeLayout = () => {
) : (
<ModalUi title={"Session Expired"} isOpen={true} showClose={false}>
<div className="flex flex-col justify-center items-center py-4 md:py-5 gap-5">
- {/* <p className="text-xl font-normal">Your session has expired.</p> */}
+ <p className="text-xl font-normal">Your session has expired.</p>
<button
onClick={handleLoginBtn}
className="text-base px-3 py-1.5 rounded shadow-md text-white bg-[#1ab6ce]"