Skip to content

🔥 The free & Open Source DocuSign alternative

refactor : remove commented code

RaktimaNXG9daed4a5ed1b
diff --git a/apps/OpenSign/src/pages/PdfRequestFiles.js b/apps/OpenSign/src/pages/PdfRequestFiles.js
index 15a3dd903..eae720d62 100644
--- a/apps/OpenSign/src/pages/PdfRequestFiles.js
+++ b/apps/OpenSign/src/pages/PdfRequestFiles.js
@@ -1698,92 +1698,6 @@ function PdfRequestFiles() {
</button>
</div>
</ModalUi>
-
- {/* {isVerifyModal && (
- <ModalUi
- isOpen
- title={"OTP verification"}
- handleClose={handleCloseVerifyModal}
- >
- {otpLoader ? (
- <div
- style={{
- height: "150px",
- display: "flex",
- alignItems: "center",
- justifyContent: "center"
- }}
- >
- <div
- style={{
- fontSize: "45px",
- color: "#3dd3e0"
- }}
- className="loader-37"
- ></div>
- </div>
- ) : (
- <form onSubmit={(e) => handleVerifyEmail(e)}>
- <div className="px-6 py-3">
- <label className="mb-2">Enter OTP</label>
- <input
- type="tel"
- pattern="[0-9]{4}"
- className="px-3 py-2 w-full border-[1px] border-gray-300 rounded focus:outline-none text-xs"
- placeholder="Enter OTP sent on mail"
- value={otp}
- onChange={(e) => setOtp(e.target.value)}
- />
- </div>
- <hr />
- <div className="px-6 my-3">
- <button type="submit" className={submitBtn}>
- Verify
- </button>
- <button
- className={`${rejectBtn} ml-2`}
- onClick={(e) => handleReset(e)}
- >
- Resend
- </button>
- </div>
- </form>
- )}
- </ModalUi>
- )} */}
- {/* {!isEmailVerified && (
- <ModalUi
- isOpen={!isEmailVerified}
- title={"OTP verification"}
- handleClose={() => {
- setValidateAlert(false);
- }}
- >
- <div style={{ height: "100%", padding: 20 }}>
- <p>Please verify your email !</p>
-
- <div
- style={{
- height: "1px",
- backgroundColor: "#9f9f9f",
- width: "100%",
- marginTop: "15px",
- marginBottom: "15px"
- }}
- ></div>
- <button
- className={submitBtn}
- type="submit"
- onClick={() => {
- setIsEmailVerified(true);
- setIsVerifyModal(true);
- }}
- >
- Verify
- </button>
- </div>
- </ModalUi>
- )} */}
</>
)}
</DndProvider>