remove form diabling div from LockerStatus.jsx

This commit is contained in:
Md Asif 2024-12-27 16:34:18 +05:30
parent 6b19adf03e
commit 307d2621ce

View File

@ -125,17 +125,11 @@ function LockerStatus() {
<AnimatePresence>
{notification.message !== "" && <Notification {...notification} />}
</AnimatePresence>
<div className="relative">
{notification.type === "success" && (
<div className="absolute inset-0 bg-[#fff]/50 z-10 rounded-3xl" />
)}
<FormBox title={t("lockerStatus")}>
<FieldsWrapper>
{formFields.map(renderField)}
</FieldsWrapper>
<Button text={t("submit")} onClick={handleSubmit} />
</FormBox>
</div>
<FormBox title={t("lockerStatus")}>
<FieldsWrapper>{formFields.map(renderField)}</FieldsWrapper>
<Button text={t("submit")} onClick={handleSubmit} />
</FormBox>
</div>
);
}