fix: blocking screen by warning for expired and decline document

This commit is contained in:
RaktimaNXG
2023-11-07 11:32:25 +05:30
parent fe37f3e021
commit d42e11c5c1
5 changed files with 807 additions and 793 deletions
@@ -8,11 +8,19 @@ function CustomModal({
bodyMssg,
footerMessage,
declineDoc,
setIsDecline
setIsDecline,
containerWH
}) {
const isMobile = window.innerWidth < 767;
return (
show && (
<div className="parentDiv">
<div
className="parentDiv"
style={{
width: containerWH && containerWH.width,
height: isMobile ? "100%" : containerWH && containerWH.height
}}
>
<div className="childDiv">
<div className="modalHeadDiv bg-danger">{headMsg && headMsg}</div>
<div className="modalBodyDIv">