fix: multisign signature issue in mobile view

This commit is contained in:
RaktimaNXG
2023-12-11 17:50:36 +05:30
parent e51feaa1fe
commit 47ddac3529
5 changed files with 112 additions and 55 deletions
@@ -1,20 +1,17 @@
import React from "react";
function DefaultSignature({
themeColor,
defaultSignImg,
setShowAlreadySignDoc,
xyPostion
xyPostion,
setIsAlert
}) {
const confirmToaddDefaultSign = () => {
if (xyPostion.length > 0) {
const alreadySign = {
status: true,
mssg: "Are you sure you want to sign at requested locations?",
sure: true
};
setShowAlreadySignDoc(alreadySign);
setIsAlert({
isShow: true,
alertMessage: "Are you sure you want to sign at requested locations?"
});
} else {
alert("please select position!");
}